Enum json_ld_core::object::node::IndexedEntryRef
source · pub enum IndexedEntryRef<'a, T, B> {
Index(&'a str),
Node(EntryRef<'a, T, B>),
}
Variants§
Implementations§
source§impl<'a, T, B> IndexedEntryRef<'a, T, B>
impl<'a, T, B> IndexedEntryRef<'a, T, B>
pub fn into_key(self) -> IndexedEntryKeyRef<'a, T, B>
pub fn key(&self) -> IndexedEntryKeyRef<'a, T, B>
pub fn into_value(self) -> IndexedEntryValueRef<'a, T, B>
pub fn value(&self) -> IndexedEntryValueRef<'a, T, B>
pub fn into_key_value( self, ) -> (IndexedEntryKeyRef<'a, T, B>, IndexedEntryValueRef<'a, T, B>)
pub fn as_key_value( &self, ) -> (IndexedEntryKeyRef<'a, T, B>, IndexedEntryValueRef<'a, T, B>)
Trait Implementations§
source§impl<'a, T, B> Clone for IndexedEntryRef<'a, T, B>
impl<'a, T, B> Clone for IndexedEntryRef<'a, T, B>
impl<'a, T, B> Copy for IndexedEntryRef<'a, T, B>
Auto Trait Implementations§
impl<'a, T, B> Freeze for IndexedEntryRef<'a, T, B>
impl<'a, T, B> RefUnwindSafe for IndexedEntryRef<'a, T, B>where
B: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T, B> Send for IndexedEntryRef<'a, T, B>
impl<'a, T, B> Sync for IndexedEntryRef<'a, T, B>
impl<'a, T, B> Unpin for IndexedEntryRef<'a, T, B>
impl<'a, T, B> UnwindSafe for IndexedEntryRef<'a, T, B>where
B: RefUnwindSafe,
T: RefUnwindSafe,
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> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)