pub struct FromWasmMsg { /* private fields */ }
Implementations§
Source§impl FromWasmMsg
impl FromWasmMsg
pub fn new() -> Self
pub fn reserve_u64(self, capacity_u64: usize) -> Self
pub fn data_len(&self) -> usize
pub fn or_even_u32(&mut self, index: usize, data: u32)
pub fn push_u32(&mut self, data: u32)
pub fn push_f32(&mut self, data: f32)
pub fn push_u64(&mut self, data: u64)
pub fn push_f64(&mut self, data: f64)
pub fn push_str(&mut self, val: &str)
pub fn release_ownership(self) -> u32
pub fn from_wasm(&mut self, from_wasm: impl FromWasm)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FromWasmMsg
impl RefUnwindSafe for FromWasmMsg
impl Send for FromWasmMsg
impl Sync for FromWasmMsg
impl Unpin for FromWasmMsg
impl UnwindSafe for FromWasmMsg
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