pub enum EntryKeyRef<'a> {
Base,
Import,
Language,
Direction,
Propagate,
Protected,
Type,
Version,
Vocab,
Definition(&'a Key),
}Expand description
Key of a context definition entry.
Variants§
Base
The @base entry, setting the base IRI against which relative IRIs are resolved.
Import
The @import entry, referencing a context to merge into this one.
Language
The @language entry, tagging string values with a language.
Direction
The @direction entry, setting the base direction of string values.
Propagate
The @propagate entry, controlling whether the context survives into node objects.
Protected
The @protected entry, forbidding redefinition of the terms defined here.
Type
The @type entry, setting how the node types of the described documents
are laid out and whether that setting is protected.
Version
The @version entry, declaring the processing mode.
Vocab
The @vocab entry, setting the vocabulary against which terms expand.
Definition(&'a Key)
The term of a term binding.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for EntryKeyRef<'a>
impl<'a> Clone for EntryKeyRef<'a>
impl<'a> Copy for EntryKeyRef<'a>
impl<'a> Eq for EntryKeyRef<'a>
Source§impl<'a> PartialEq for EntryKeyRef<'a>
impl<'a> PartialEq for EntryKeyRef<'a>
Source§impl PrecomputeSize for EntryKeyRef<'_>
impl PrecomputeSize for EntryKeyRef<'_>
Source§impl Print for EntryKeyRef<'_>
impl Print for EntryKeyRef<'_>
Source§fn fmt_with(
&self,
f: &mut Formatter<'_>,
_options: &Options,
_indent: usize,
) -> Result
fn fmt_with( &self, f: &mut Formatter<'_>, _options: &Options, _indent: usize, ) -> Result
Writes the value to
f with the given options, starting at the given
indentation level. Read moreSource§fn pretty_print(&self) -> Printed<'_, Self>
fn pretty_print(&self) -> Printed<'_, Self>
Print the value with
Options::pretty options.Source§fn compact_print(&self) -> Printed<'_, Self>
fn compact_print(&self) -> Printed<'_, Self>
Print the value with
Options::compact options.Source§fn inline_print(&self) -> Printed<'_, Self>
fn inline_print(&self) -> Printed<'_, Self>
Print the value with
Options::inline options.Source§fn print_with(&self, options: Options) -> Printed<'_, Self>
fn print_with(&self, options: Options) -> Printed<'_, Self>
Print the value with the given options.
impl<'a> StructuralPartialEq for EntryKeyRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for EntryKeyRef<'a>
impl<'a> RefUnwindSafe for EntryKeyRef<'a>
impl<'a> Send for EntryKeyRef<'a>
impl<'a> Sync for EntryKeyRef<'a>
impl<'a> Unpin for EntryKeyRef<'a>
impl<'a> UnsafeUnpin for EntryKeyRef<'a>
impl<'a> UnwindSafe for EntryKeyRef<'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
Mutably borrows from an owned value. Read more
Source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
Source§fn as_unordered(&self) -> &Unordered<T>
fn as_unordered(&self) -> &Unordered<T>
Views this value as an
Unordered reference.impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if
self is equivalent to key.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.