pub enum Component<'t> {
Root,
Token(Token<'t>),
}
Expand description
A single Token
or the root of a JSON Pointer
Variants§
Trait Implementations§
Source§impl<'t> Ord for Component<'t>
impl<'t> Ord for Component<'t>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'t> PartialOrd for Component<'t>
impl<'t> PartialOrd for Component<'t>
impl<'t> Eq for Component<'t>
impl<'t> StructuralPartialEq for Component<'t>
Auto Trait Implementations§
impl<'t> Freeze for Component<'t>
impl<'t> RefUnwindSafe for Component<'t>
impl<'t> Send for Component<'t>
impl<'t> Sync for Component<'t>
impl<'t> Unpin for Component<'t>
impl<'t> UnwindSafe for Component<'t>
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