Enum json_ld_syntax::context::definition::EntryRef
source · [−]pub enum EntryRef<'a, M, C> {
Base(Entry<Nullable<IriRef<'a>>, M>),
Import(Entry<IriRef<'a>, M>),
Language(Entry<Nullable<LenientLanguageTag<'a>>, M>),
Direction(Entry<Nullable<Direction>, M>),
Propagate(Entry<bool, M>),
Protected(Entry<bool, M>),
Type(Entry<Type<M>, M>),
Version(Entry<Version, M>),
Vocab(Entry<Nullable<VocabRef<'a>>, M>),
Definition(KeyRef<'a>, TermBindingRef<'a, M, C>),
}
Variants
Base(Entry<Nullable<IriRef<'a>>, M>)
Import(Entry<IriRef<'a>, M>)
Language(Entry<Nullable<LenientLanguageTag<'a>>, M>)
Direction(Entry<Nullable<Direction>, M>)
Propagate(Entry<bool, M>)
Protected(Entry<bool, M>)
Type(Entry<Type<M>, M>)
Version(Entry<Version, M>)
Vocab(Entry<Nullable<VocabRef<'a>>, M>)
Definition(KeyRef<'a>, TermBindingRef<'a, M, C>)
Implementations
sourceimpl<'a, M, C> EntryRef<'a, M, C>
impl<'a, M, C> EntryRef<'a, M, C>
pub fn into_key(self) -> EntryKeyRef<'a>
pub fn key(&self) -> EntryKeyRef<'a>
pub fn into_value(self) -> EntryValueRef<'a, M, C>
pub fn value(&self) -> EntryValueRef<'a, M, C>where
M: Clone,
pub fn key_value(&self) -> (Meta<EntryKeyRef<'a>, M>, EntryValueRef<'a, M, C>)where
M: Clone,
pub fn into_key_value(
self
) -> (Meta<EntryKeyRef<'a>, M>, EntryValueRef<'a, M, C>)
Auto Trait Implementations
impl<'a, M, C> RefUnwindSafe for EntryRef<'a, M, C>where
C: RefUnwindSafe,
M: RefUnwindSafe,
impl<'a, M, C> Send for EntryRef<'a, M, C>where
C: Sync,
M: Send + Sync,
impl<'a, M, C> Sync for EntryRef<'a, M, C>where
C: Sync,
M: Sync,
impl<'a, M, C> Unpin for EntryRef<'a, M, C>where
M: Unpin,
impl<'a, M, C> UnwindSafe for EntryRef<'a, M, C>where
C: RefUnwindSafe,
M: UnwindSafe + RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more