[][src]Trait sp_wasm_interface::IntoValue

pub trait IntoValue {
    pub const VALUE_TYPE: ValueType;

    pub fn into_value(self) -> Value;
}

Something that can be converted into a wasm compatible Value.

Associated Constants

pub const VALUE_TYPE: ValueType

The type of the value in wasm.

Loading content...

Required methods

pub fn into_value(self) -> Value

Convert self into a wasm Value.

Loading content...

Implementations on Foreign Types

impl IntoValue for u8[src]

impl IntoValue for u16[src]

impl IntoValue for u32[src]

impl IntoValue for u64[src]

impl IntoValue for i8[src]

impl IntoValue for i16[src]

impl IntoValue for i32[src]

impl IntoValue for i64[src]

Loading content...

Implementors

impl<T: PointerType> IntoValue for Pointer<T>[src]

Loading content...