pub enum ArenaEntry {
Int(i64),
String(Rc<str>),
List(ArenaList),
Tuple(Vec<NanValue>),
Map(PersistentMap),
Vector(Vec<NanValue>),
Record {
type_id: u32,
fields: Vec<NanValue>,
},
Variant {
type_id: u32,
variant_id: u16,
fields: Vec<NanValue>,
},
Fn(Rc<FunctionValue>),
Builtin(Rc<str>),
Namespace {
name: Rc<str>,
members: Vec<(Rc<str>, NanValue)>,
},
Boxed(NanValue),
}Variants§
Int(i64)
String(Rc<str>)
List(ArenaList)
Tuple(Vec<NanValue>)
Map(PersistentMap)
Vector(Vec<NanValue>)
Record
Variant
Fn(Rc<FunctionValue>)
Builtin(Rc<str>)
Namespace
Boxed(NanValue)
Trait Implementations§
Source§impl Clone for ArenaEntry
impl Clone for ArenaEntry
Source§fn clone(&self) -> ArenaEntry
fn clone(&self) -> ArenaEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ArenaEntry
impl RefUnwindSafe for ArenaEntry
impl !Send for ArenaEntry
impl !Sync for ArenaEntry
impl Unpin for ArenaEntry
impl UnsafeUnpin for ArenaEntry
impl UnwindSafe for ArenaEntry
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