pub trait NativeWasmTypeInto: NativeWasmType + Sized {
    fn into_raw(self, store: &mut impl AsStoreMut) -> RawValue;
    unsafe fn from_raw(store: &mut impl AsStoreMut, raw: RawValue) -> Self;
}
Expand description

NativeWasmTypeInto performs conversions from and into NativeWasmType types with a context.

Required Methods§

Convert self to raw value representation.

Convert to self from raw value representation.

Safety

Implementations on Foreign Types§

Implementors§