Struct WasmSlice
#[repr(C)]
pub struct WasmSlice { pub ptr: WasmWord, pub len: WasmWord }
⚠️ Unstable
This is part of the internal convert module, no
stability guarantees are provided. Use at your own risk. See its
documentation for more details.
Fields
ptr: WasmWordlen: WasmWord
Implementations
impl WasmSlice
fn from_usize(ptr: usize, len: usize) -> Self
Trait Implementations
impl Clone for WasmSlice
fn clone(&self) -> Self
impl Copy for WasmSlice
impl WasmAbi for WasmSlice
type Prim1 = <WasmWord as WasmAbi>::Prim1;self.ptrtype Prim2 = <WasmWord as WasmAbi>::Prim1;self.lentype Prim3 = ();type Prim4 = ();fn split(self) -> (Self::Prim1, Self::Prim2, (), ())fn join(ptr: Self::Prim1, len: Self::Prim2, (), ()) -> Self