[][src]Trait wasm_bindgen::convert::RefMutFromWasmAbi

pub trait RefMutFromWasmAbi: WasmDescribe {
    type Abi: WasmAbi;
    type Anchor: DerefMut<Target = Self>;
    unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor;
}

Dual of the RefFromWasmAbi trait, except for mutable references.

Associated Types

type Abi: WasmAbi

Same as RefFromWasmAbi::Abi

type Anchor: DerefMut<Target = Self>

Same as RefFromWasmAbi::Anchor

Loading content...

Required methods

unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor

Same as RefFromWasmAbi::ref_from_abi

Loading content...

Implementations on Foreign Types

impl RefMutFromWasmAbi for [u8][src]

type Abi = WasmSlice

type Anchor = &'static mut [u8]

impl RefMutFromWasmAbi for [i8][src]

type Abi = WasmSlice

type Anchor = &'static mut [i8]

impl RefMutFromWasmAbi for [u16][src]

type Abi = WasmSlice

type Anchor = &'static mut [u16]

impl RefMutFromWasmAbi for [i16][src]

type Abi = WasmSlice

type Anchor = &'static mut [i16]

impl RefMutFromWasmAbi for [u32][src]

type Abi = WasmSlice

type Anchor = &'static mut [u32]

impl RefMutFromWasmAbi for [i32][src]

type Abi = WasmSlice

type Anchor = &'static mut [i32]

impl RefMutFromWasmAbi for [u64][src]

type Abi = WasmSlice

type Anchor = &'static mut [u64]

impl RefMutFromWasmAbi for [i64][src]

type Abi = WasmSlice

type Anchor = &'static mut [i64]

impl RefMutFromWasmAbi for [usize][src]

type Abi = WasmSlice

type Anchor = &'static mut [usize]

impl RefMutFromWasmAbi for [isize][src]

type Abi = WasmSlice

type Anchor = &'static mut [isize]

impl RefMutFromWasmAbi for [f32][src]

type Abi = WasmSlice

type Anchor = &'static mut [f32]

impl RefMutFromWasmAbi for [f64][src]

type Abi = WasmSlice

type Anchor = &'static mut [f64]

Loading content...

Implementors

Loading content...