#[repr(C)]pub struct WasmSlice {
pub ptr: u32,
pub len: u32,
}Expand description
Fields§
§ptr: u32§len: u32Trait Implementations§
Source§impl WasmAbi for WasmSlice
impl WasmAbi for WasmSlice
impl Copy for WasmSlice
Auto Trait Implementations§
impl Freeze for WasmSlice
impl RefUnwindSafe for WasmSlice
impl Send for WasmSlice
impl Sync for WasmSlice
impl Unpin for WasmSlice
impl UnsafeUnpin for WasmSlice
impl UnwindSafe for WasmSlice
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<S, T> Upcast<T> for S
impl<S, T> Upcast<T> for S
Source§fn upcast(&self) -> &T
fn upcast(&self) -> &T
Perform a zero-cost type-safe upcast to a wider ref type within the Wasm
bindgen generics type system. Read more
Source§fn upcast_into(self) -> Twhere
Self: Sized + ErasableGeneric,
T: Sized + ErasableGeneric<Repr = <Self as ErasableGeneric>::Repr>,
fn upcast_into(self) -> Twhere
Self: Sized + ErasableGeneric,
T: Sized + ErasableGeneric<Repr = <Self as ErasableGeneric>::Repr>,
Perform a zero-cost type-safe upcast to a wider type within the Wasm
bindgen generics type system. Read more