pub enum EntryValueRef<'a> {
Base(Nullable<&'a IriRefBuf>),
Import(&'a IriRefBuf),
Language(Nullable<&'a LenientLangTagBuf>),
Direction(Nullable<Direction>),
Propagate(bool),
Protected(bool),
Type(Type),
Version(Version),
Vocab(Nullable<&'a Vocab>),
Definition(Nullable<&'a TermDefinition>),
}Expand description
Value of a context definition entry.
Variants§
Base(Nullable<&'a IriRefBuf>)
The @base entry, setting the base IRI against which relative IRIs are resolved.
Import(&'a IriRefBuf)
The @import entry, referencing a context to merge into this one.
Language(Nullable<&'a LenientLangTagBuf>)
The @language entry, tagging string values with a language.
Direction(Nullable<Direction>)
The @direction entry, setting the base direction of string values.
Propagate(bool)
The @propagate entry, controlling whether the context survives into node objects.
Protected(bool)
The @protected entry, forbidding redefinition of the terms defined here.
Type(Type)
The @type entry, setting how the node types of the described documents
are laid out and whether that setting is protected.
Version(Version)
The @version entry, declaring the processing mode.
Vocab(Nullable<&'a Vocab>)
The @vocab entry, setting the vocabulary against which terms expand.
Definition(Nullable<&'a TermDefinition>)
The definition bound to a term, or null to unset that term.
Implementations§
Source§impl<'a> EntryValueRef<'a>
impl<'a> EntryValueRef<'a>
Trait Implementations§
Source§impl PrecomputeSize for EntryValueRef<'_>
impl PrecomputeSize for EntryValueRef<'_>
Source§impl PrintWithSize for EntryValueRef<'_>
impl PrintWithSize for EntryValueRef<'_>
Auto Trait Implementations§
impl<'a> Freeze for EntryValueRef<'a>
impl<'a> RefUnwindSafe for EntryValueRef<'a>
impl<'a> Send for EntryValueRef<'a>
impl<'a> Sync for EntryValueRef<'a>
impl<'a> Unpin for EntryValueRef<'a>
impl<'a> UnsafeUnpin for EntryValueRef<'a>
impl<'a> UnwindSafe for EntryValueRef<'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
Source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
Source§fn as_unordered(&self) -> &Unordered<T>
fn as_unordered(&self) -> &Unordered<T>
Unordered reference.