Enum json_ld_syntax::context::term_definition::EntryRef
source · [−]pub enum EntryRef<'a, M, C> {
Id(Entry<Nullable<IdRef<'a>>, M>),
Type(Entry<Nullable<TypeRef<'a>>, M>),
Context(Entry<&'a C, M>),
Reverse(Entry<KeyRef<'a>, M>),
Index(Entry<IndexRef<'a>, M>),
Language(Entry<Nullable<LenientLanguageTag<'a>>, M>),
Direction(Entry<Nullable<Direction>, M>),
Container(Entry<Nullable<ContainerRef<'a, M>>, M>),
Nest(Entry<NestRef<'a>, M>),
Prefix(Entry<bool, M>),
Propagate(Entry<bool, M>),
Protected(Entry<bool, M>),
}
Variants
Id(Entry<Nullable<IdRef<'a>>, M>)
Type(Entry<Nullable<TypeRef<'a>>, M>)
Context(Entry<&'a C, M>)
Reverse(Entry<KeyRef<'a>, M>)
Index(Entry<IndexRef<'a>, M>)
Language(Entry<Nullable<LenientLanguageTag<'a>>, M>)
Direction(Entry<Nullable<Direction>, M>)
Container(Entry<Nullable<ContainerRef<'a, M>>, M>)
Nest(Entry<NestRef<'a>, M>)
Prefix(Entry<bool, M>)
Propagate(Entry<bool, M>)
Protected(Entry<bool, M>)
Implementations
sourceimpl<'a, M, C> EntryRef<'a, M, C>
impl<'a, M, C> EntryRef<'a, M, C>
pub fn into_key(self) -> EntryKey
pub fn key(&self) -> EntryKey
pub fn into_value(self) -> EntryValueRef<'a, M, C>
pub fn value(&self) -> EntryValueRef<'a, M, C>where
M: Clone,
pub fn into_key_value(self) -> (EntryKey, EntryValueRef<'a, M, C>)
pub fn key_value(&self) -> (EntryKey, EntryValueRef<'a, M, C>)where
M: Clone,
Trait Implementations
sourceimpl<'a, M, C: AnyValue<M> + PrecomputeSize> PrecomputeSize for EntryRef<'a, M, C>
impl<'a, M, C: AnyValue<M> + PrecomputeSize> PrecomputeSize for EntryRef<'a, M, C>
sourceimpl<'a, M, C: AnyValue<M> + PrintWithSize> PrintWithSize for EntryRef<'a, M, C>
impl<'a, M, C: AnyValue<M> + PrintWithSize> PrintWithSize for EntryRef<'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