pub enum AnyNode<'tree> {
Show 14 variants
Value(Value<'tree>),
Array(Array<'tree>),
Document(Document<'tree>),
Object(Object<'tree>),
Pair(Pair<'tree>),
String(String<'tree>),
Comment(Comment<'tree>),
EscapeSequence(EscapeSequence<'tree>),
False(False<'tree>),
Null(Null<'tree>),
Number(Number<'tree>),
StringContent(StringContent<'tree>),
True(True<'tree>),
Unknown(Node<'tree>),
}Variants§
Value(Value<'tree>)
Array(Array<'tree>)
Document(Document<'tree>)
Object(Object<'tree>)
Pair(Pair<'tree>)
String(String<'tree>)
Comment(Comment<'tree>)
EscapeSequence(EscapeSequence<'tree>)
False(False<'tree>)
Null(Null<'tree>)
Number(Number<'tree>)
StringContent(StringContent<'tree>)
True(True<'tree>)
Unknown(Node<'tree>)
Implementations§
Trait Implementations§
impl<'tree> Eq for AnyNode<'tree>
impl<'tree> StructuralPartialEq for AnyNode<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for AnyNode<'tree>
impl<'tree> RefUnwindSafe for AnyNode<'tree>
impl<'tree> Send for AnyNode<'tree>
impl<'tree> Sync for AnyNode<'tree>
impl<'tree> Unpin for AnyNode<'tree>
impl<'tree> UnsafeUnpin for AnyNode<'tree>
impl<'tree> UnwindSafe for AnyNode<'tree>
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