pub struct ToWasmMsg { /* private fields */ }
Implementations§
Source§impl ToWasmMsg
impl ToWasmMsg
pub fn take_ownership(val: u32) -> Self
pub fn into_from_wasm(self) -> FromWasmMsg
pub fn as_ref(&self) -> ToWasmMsgRef<'_>
pub fn as_ref_at(&self, offset: usize) -> ToWasmMsgRef<'_>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ToWasmMsg
impl RefUnwindSafe for ToWasmMsg
impl Send for ToWasmMsg
impl Sync for ToWasmMsg
impl Unpin for ToWasmMsg
impl UnwindSafe for ToWasmMsg
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