Enum json_ld_core::object::node::IndexedEntryRef
source · pub enum IndexedEntryRef<'a, T, B, M> {
Index(&'a str),
Node(EntryRef<'a, T, B, M>),
}
Variants§
Implementations§
source§impl<'a, T, B, M> IndexedEntryRef<'a, T, B, M>
impl<'a, T, B, M> IndexedEntryRef<'a, T, B, M>
pub fn into_key(self) -> IndexedEntryKeyRef<'a, T, B, M>
pub fn key(&self) -> IndexedEntryKeyRef<'a, T, B, M>
pub fn into_value(self) -> IndexedEntryValueRef<'a, T, B, M>
pub fn value(&self) -> IndexedEntryValueRef<'a, T, B, M>
pub fn into_key_value( self ) -> (IndexedEntryKeyRef<'a, T, B, M>, IndexedEntryValueRef<'a, T, B, M>)
pub fn as_key_value( &self ) -> (IndexedEntryKeyRef<'a, T, B, M>, IndexedEntryValueRef<'a, T, B, M>)
Trait Implementations§
source§impl<'a, T, B, M> Clone for IndexedEntryRef<'a, T, B, M>
impl<'a, T, B, M> Clone for IndexedEntryRef<'a, T, B, M>
impl<'a, T, B, M> Copy for IndexedEntryRef<'a, T, B, M>
Auto Trait Implementations§
impl<'a, T, B, M> RefUnwindSafe for IndexedEntryRef<'a, T, B, M>
impl<'a, T, B, M> Send for IndexedEntryRef<'a, T, B, M>
impl<'a, T, B, M> Sync for IndexedEntryRef<'a, T, B, M>
impl<'a, T, B, M> Unpin for IndexedEntryRef<'a, T, B, M>
impl<'a, T, B, M> UnwindSafe for IndexedEntryRef<'a, T, B, M>
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