Trait sp_wasm_interface::IntoValue[][src]

pub trait IntoValue {
    const VALUE_TYPE: ValueType;

    fn into_value(self) -> Value;
}

Something that can be converted into a wasm compatible Value.

Associated Constants

const VALUE_TYPE: ValueType[src]

The type of the value in wasm.

Loading content...

Required methods

fn into_value(self) -> Value[src]

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...