Trait uptown_funk::FromWasm[][src]

pub trait FromWasm {
    type From;
    type State: Convert<Self::State> + Convert<()>;
    fn from(
        state: &mut Self::State,
        executor: &impl Executor,
        from: Self::From
    ) -> Result<Self, Trap>
    where
        Self: Sized
; }

Associated Types

Loading content...

Required methods

fn from(
    state: &mut Self::State,
    executor: &impl Executor,
    from: Self::From
) -> Result<Self, Trap> where
    Self: Sized
[src]

Loading content...

Implementations on Foreign Types

impl FromWasm for u32[src]

type From = u32

type State = ()

impl FromWasm for u64[src]

type From = u64

type State = ()

impl FromWasm for i64[src]

type From = i64

type State = ()

impl FromWasm for u16[src]

type From = u32

type State = ()

impl FromWasm for u8[src]

type From = u32

type State = ()

Loading content...

Implementors

impl<T: WasmType> FromWasm for Pointer<T>[src]

type From = u32

type State = ()

Loading content...