#[repr(C)]pub struct wasm_val_t {
pub kind: wasm_valkind_t,
pub of: wasm_val_union,
}Expand description
A Wasm value.
Mirrors Val.
Fields§
§kind: wasm_valkind_tThe kind of the Wasm value.
of: wasm_val_unionThe underlying data of the Wasm value classified by kind.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for wasm_val_t
impl RefUnwindSafe for wasm_val_t
impl !Send for wasm_val_t
impl !Sync for wasm_val_t
impl Unpin for wasm_val_t
impl UnwindSafe for wasm_val_t
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)