pub enum PointerNode {
Key(FastStr),
Index(usize),
}
Expand description
Represents a node in a json pointer path.
Variants§
Trait Implementations§
Source§impl Clone for PointerNode
impl Clone for PointerNode
Source§fn clone(&self) -> PointerNode
fn clone(&self) -> PointerNode
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PointerNode
impl Debug for PointerNode
Source§impl From<&FastStr> for PointerNode
impl From<&FastStr> for PointerNode
Source§impl From<&str> for PointerNode
impl From<&str> for PointerNode
Source§impl From<&usize> for PointerNode
impl From<&usize> for PointerNode
Source§impl From<FastStr> for PointerNode
impl From<FastStr> for PointerNode
Source§impl From<usize> for PointerNode
impl From<usize> for PointerNode
Source§impl Ord for PointerNode
impl Ord for PointerNode
Source§fn cmp(&self, other: &PointerNode) -> Ordering
fn cmp(&self, other: &PointerNode) -> Ordering
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 PartialEq for PointerNode
impl PartialEq for PointerNode
Source§impl PartialOrd for PointerNode
impl PartialOrd for PointerNode
impl Eq for PointerNode
impl Index for PointerNode
impl StructuralPartialEq for PointerNode
Auto Trait Implementations§
impl !Freeze for PointerNode
impl RefUnwindSafe for PointerNode
impl Send for PointerNode
impl Sync for PointerNode
impl Unpin for PointerNode
impl UnwindSafe for PointerNode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)