pub enum PathNodeKind {
Root,
Array,
Object,
}Expand description
A light weight enum used to indicate the kind of component being visited when using the
PathComponents Iterator.
Variants§
Root
The root of the JSON Element tree.
Array
An Array element referenced by index.
Object
An Object field referenced be key value.
Auto Trait Implementations§
impl Freeze for PathNodeKind
impl RefUnwindSafe for PathNodeKind
impl Send for PathNodeKind
impl Sync for PathNodeKind
impl Unpin for PathNodeKind
impl UnwindSafe for PathNodeKind
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