pub enum NodeType {
Any(AnyNode),
Array(ArrayNode),
Boolean,
Integer(IntegerNode),
Null,
Number(NumberNode),
Object(ObjectNode),
String(StringNode),
}
Variants§
Any(AnyNode)
Array(ArrayNode)
Boolean
Integer(IntegerNode)
Null
Number(NumberNode)
Object(ObjectNode)
String(StringNode)
Implementations§
Trait Implementations§
Source§impl From<IntegerNode> for NodeType
impl From<IntegerNode> for NodeType
Source§fn from(i: IntegerNode) -> Self
fn from(i: IntegerNode) -> Self
Converts to this type from the input type.
Source§impl From<NumberNode> for NodeType
impl From<NumberNode> for NodeType
Source§fn from(n: NumberNode) -> Self
fn from(n: NumberNode) -> Self
Converts to this type from the input type.
Source§impl From<ObjectNode> for NodeType
impl From<ObjectNode> for NodeType
Source§fn from(o: ObjectNode) -> Self
fn from(o: ObjectNode) -> Self
Converts to this type from the input type.
Source§impl From<StringNode> for NodeType
impl From<StringNode> for NodeType
Source§fn from(s: StringNode) -> Self
fn from(s: StringNode) -> Self
Converts to this type from the input type.
Source§impl Ord for NodeType
impl Ord for NodeType
Source§impl PartialOrd for NodeType
impl PartialOrd for NodeType
impl Eq for NodeType
impl StructuralPartialEq for NodeType
Auto Trait Implementations§
impl Freeze for NodeType
impl RefUnwindSafe for NodeType
impl Send for NodeType
impl Sync for NodeType
impl Unpin for NodeType
impl UnwindSafe for NodeType
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