pub enum ValueNode {
Bool(bool),
Int(i64),
Str(String),
List(Vec<u32>),
Record(Vec<(String, u32)>),
}Expand description
One node of a flattened Value.
Variants§
Bool(bool)
Int(i64)
Str(String)
List(Vec<u32>)
Value::List; the element nodes’ indices, in order.
Record(Vec<(String, u32)>)
Value::Record; (key, node index) pairs in key order (the
BTreeMap’s iteration order when flattened).
Trait Implementations§
impl Eq for ValueNode
impl StructuralPartialEq for ValueNode
Auto Trait Implementations§
impl Freeze for ValueNode
impl RefUnwindSafe for ValueNode
impl Send for ValueNode
impl Sync for ValueNode
impl Unpin for ValueNode
impl UnsafeUnpin for ValueNode
impl UnwindSafe for ValueNode
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