Trait sp_wasm_interface::TryFromValue[][src]

pub trait TryFromValue: Sized {
    fn try_from_value(val: Value) -> Option<Self>;
}

Something that can may be created from a wasm Value.

Required methods

fn try_from_value(val: Value) -> Option<Self>[src]

Try to convert the given Value into Self.

Loading content...

Implementations on Foreign Types

impl TryFromValue for u8[src]

impl TryFromValue for u16[src]

impl TryFromValue for u32[src]

impl TryFromValue for u64[src]

impl TryFromValue for i8[src]

impl TryFromValue for i16[src]

impl TryFromValue for i32[src]

impl TryFromValue for i64[src]

Loading content...

Implementors

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

Loading content...