pub struct JsonPointerNode<'a, 'b> { /* private fields */ }Implementations§
Source§impl JsonPointerNode<'_, '_>
impl JsonPointerNode<'_, '_>
Source§impl<'a, 'b> JsonPointerNode<'a, 'b>
impl<'a, 'b> JsonPointerNode<'a, 'b>
pub fn push<'next>( &'next self, segment: impl Into<JsonPointerSegment<'a>>, ) -> JsonPointerNode<'a, 'next>
pub const fn segment(&self) -> &JsonPointerSegment<'a>
pub const fn parent(&self) -> Option<&'b JsonPointerNode<'b, 'a>>
Trait Implementations§
Source§impl<'a, 'b> Clone for JsonPointerNode<'a, 'b>
impl<'a, 'b> Clone for JsonPointerNode<'a, 'b>
Source§fn clone(&self) -> JsonPointerNode<'a, 'b>
fn clone(&self) -> JsonPointerNode<'a, 'b>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a, 'b> Debug for JsonPointerNode<'a, 'b>
impl<'a, 'b> Debug for JsonPointerNode<'a, 'b>
Source§impl Default for JsonPointerNode<'_, '_>
impl Default for JsonPointerNode<'_, '_>
Source§impl<'a, 'b> PartialEq for JsonPointerNode<'a, 'b>
impl<'a, 'b> PartialEq for JsonPointerNode<'a, 'b>
Source§fn eq(&self, other: &JsonPointerNode<'a, 'b>) -> bool
fn eq(&self, other: &JsonPointerNode<'a, 'b>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a, 'b> Eq for JsonPointerNode<'a, 'b>
impl<'a, 'b> StructuralPartialEq for JsonPointerNode<'a, 'b>
Auto Trait Implementations§
impl<'a, 'b> Freeze for JsonPointerNode<'a, 'b>
impl<'a, 'b> RefUnwindSafe for JsonPointerNode<'a, 'b>
impl<'a, 'b> Send for JsonPointerNode<'a, 'b>
impl<'a, 'b> Sync for JsonPointerNode<'a, 'b>
impl<'a, 'b> Unpin for JsonPointerNode<'a, 'b>
impl<'a, 'b> UnsafeUnpin for JsonPointerNode<'a, 'b>
impl<'a, 'b> UnwindSafe for JsonPointerNode<'a, 'b>
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.