pub enum VmValue {
Num(f64),
Bool(bool),
Sym(String),
}Expand description
A runtime value on the VM stack.
Variants§
Num(f64)
A 64-bit floating-point number.
Bool(bool)
A boolean flag.
Sym(String)
A symbol (named constant), used in pattern matching.
Implementations§
Trait Implementations§
impl StructuralPartialEq for VmValue
Auto Trait Implementations§
impl Freeze for VmValue
impl RefUnwindSafe for VmValue
impl Send for VmValue
impl Sync for VmValue
impl Unpin for VmValue
impl UnsafeUnpin for VmValue
impl UnwindSafe for VmValue
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