[−][src]Trait uptown_funk::ToWasm
Associated Types
Loading content...Required methods
fn to(
state: &mut Self::State,
executor: &impl Executor,
host_value: Self
) -> Result<Self::To, Trap>
[src]
state: &mut Self::State,
executor: &impl Executor,
host_value: Self
) -> Result<Self::To, Trap>
Implementations on Foreign Types
impl ToWasm for u32
[src]
type To = u32
type State = ()
fn to(
_state: &mut Self::State,
_executor: &impl Executor,
host_value: Self
) -> Result<Self::To, Trap>
[src]
_state: &mut Self::State,
_executor: &impl Executor,
host_value: Self
) -> Result<Self::To, Trap>
impl ToWasm for u64
[src]
type To = u64
type State = ()
fn to(
_state: &mut Self::State,
_executor: &impl Executor,
host_value: Self
) -> Result<Self::To, Trap>
[src]
_state: &mut Self::State,
_executor: &impl Executor,
host_value: Self
) -> Result<Self::To, Trap>
impl ToWasm for i64
[src]
type To = i64
type State = ()
fn to(
_state: &mut Self::State,
_executor: &impl Executor,
host_value: Self
) -> Result<Self::To, Trap>
[src]
_state: &mut Self::State,
_executor: &impl Executor,
host_value: Self
) -> Result<Self::To, Trap>
impl ToWasm for u16
[src]
type To = u32
type State = ()
fn to(
_state: &mut Self::State,
_executor: &impl Executor,
host_value: Self
) -> Result<Self::To, Trap>
[src]
_state: &mut Self::State,
_executor: &impl Executor,
host_value: Self
) -> Result<Self::To, Trap>
impl ToWasm for u8
[src]
type To = u32
type State = ()
fn to(
_state: &mut Self::State,
_executor: &impl Executor,
host_value: Self
) -> Result<Self::To, Trap>
[src]
_state: &mut Self::State,
_executor: &impl Executor,
host_value: Self
) -> Result<Self::To, Trap>
impl ToWasm for bool
[src]
type To = u32
type State = ()
fn to(
_state: &mut Self::State,
_executor: &impl Executor,
host_value: Self
) -> Result<Self::To, Trap>
[src]
_state: &mut Self::State,
_executor: &impl Executor,
host_value: Self
) -> Result<Self::To, Trap>
impl<T: ToWasm> ToWasm for Result<T, Trap>
[src]
type To = T::To
type State = T::State
fn to(
state: &mut Self::State,
executor: &impl Executor,
host_value: Self
) -> Result<Self::To, Trap>
[src]
state: &mut Self::State,
executor: &impl Executor,
host_value: Self
) -> Result<Self::To, Trap>