#[repr(C)]
pub union wasmtime_val_union {
pub i32: i32,
pub i64: i64,
pub f32: u32,
pub f64: u64,
pub anyref: ManuallyDrop<wasmtime_anyref_t>,
pub externref: ManuallyDrop<wasmtime_externref_t>,
pub funcref: wasmtime_func_t,
pub v128: [u8; 16],
}
Fields§
§i32: i32
§i64: i64
§f32: u32
§f64: u64
§anyref: ManuallyDrop<wasmtime_anyref_t>
§externref: ManuallyDrop<wasmtime_externref_t>
§funcref: wasmtime_func_t
§v128: [u8; 16]
Trait Implementations§
impl Send for wasmtime_val_union
impl Sync for wasmtime_val_union
Auto Trait Implementations§
impl Freeze for wasmtime_val_union
impl RefUnwindSafe for wasmtime_val_union
impl Unpin for wasmtime_val_union
impl UnwindSafe for wasmtime_val_union
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