pub enum FragmentRef<'a> {
Value(&'a Value),
Entry(&'a Entry),
Key(&'a Key),
}
Variants§
Implementations§
Source§impl<'a> FragmentRef<'a>
impl<'a> FragmentRef<'a>
pub fn is_entry(&self) -> bool
pub fn is_key(&self) -> bool
pub fn is_value(&self) -> bool
pub fn is_null(&self) -> bool
pub fn is_number(&self) -> bool
pub fn is_string(&self) -> bool
pub fn is_array(&self) -> bool
pub fn is_object(&self) -> bool
pub fn strip(self) -> FragmentRef<'a>
Source§impl<'a> FragmentRef<'a>
impl<'a> FragmentRef<'a>
pub fn sub_fragments(&self) -> SubFragments<'a> ⓘ
Trait Implementations§
Source§impl<'a> Clone for FragmentRef<'a>
impl<'a> Clone for FragmentRef<'a>
impl<'a> Copy for FragmentRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for FragmentRef<'a>
impl<'a> RefUnwindSafe for FragmentRef<'a>
impl<'a> Send for FragmentRef<'a>
impl<'a> Sync for FragmentRef<'a>
impl<'a> Unpin for FragmentRef<'a>
impl<'a> UnwindSafe for FragmentRef<'a>
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