pub enum Value {
Fixnum(isize),
String(Box<String>),
Bool(bool),
Null,
Unspecified,
Cons(Gc<[Value; 2]>),
Symbol(Box<String>),
PrimOp(&'static PrimOp),
Closure(Box<Closure>),
Exception(Box<Exception>),
}
Variants§
Fixnum(isize)
String(Box<String>)
Bool(bool)
Null
Unspecified
Cons(Gc<[Value; 2]>)
Symbol(Box<String>)
PrimOp(&'static PrimOp)
Closure(Box<Closure>)
Exception(Box<Exception>)
Implementations§
Trait Implementations§
Source§impl Trace for Value
impl Trace for Value
Source§fn finalize_glue(&self)
fn finalize_glue(&self)
Runs Finalize::finalize() on this object and all
contained subobjects
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl !Freeze for Value
impl !RefUnwindSafe for Value
impl !Send for Value
impl !Sync for Value
impl Unpin for Value
impl !UnwindSafe for Value
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