[][src]Trait sp_wasm_interface::IntoValue

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[]

The type of the value in wasm.

Required methods

fn into_value(self) -> Value[]

Convert self into a wasm Value.

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][]

Implementors

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