pub enum Val {
I32(u32),
I64(u64),
Null(RefType),
Ref(Ptr),
RefExtern(usize),
}
Expand description
Runtime values.
Variants§
Implementations§
Source§impl Val
impl Val
pub fn unwrap_ref(self) -> Ptr
Trait Implementations§
impl Copy for Val
impl Eq for Val
impl StructuralPartialEq for Val
Auto Trait Implementations§
impl Freeze for Val
impl RefUnwindSafe for Val
impl Send for Val
impl Sync for Val
impl Unpin for Val
impl UnwindSafe for Val
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