pub enum NodeValue {
Undefined,
Null,
Str(Rc<str>),
Num(f64),
Node(u32),
Nodes(Vec<u32>),
Location(SourceLocation),
Errors(Vec<ErrorDescription>),
}Expand description
value read from a view
Variants§
Undefined
Null
Str(Rc<str>)
Num(f64)
Node(u32)
a view of a node / token
Nodes(Vec<u32>)
views of a list, frozen
Location(SourceLocation)
Errors(Vec<ErrorDescription>)
Trait Implementations§
impl StructuralPartialEq for NodeValue
Auto Trait Implementations§
impl !Send for NodeValue
impl !Sync for NodeValue
impl Forget for NodeValue
impl Freeze for NodeValue
impl Move for NodeValue
impl RefUnwindSafe for NodeValue
impl Unpin for NodeValue
impl UnsafeUnpin for NodeValue
impl UnwindSafe for NodeValue
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