Enum json_ld_syntax::context::definition::EntryKeyRef
source · pub enum EntryKeyRef<'a> {
Base,
Import,
Language,
Direction,
Propagate,
Protected,
Type,
Version,
Vocab,
Definition(KeyRef<'a>),
}
Variants
Base
Import
Language
Direction
Propagate
Protected
Type
Version
Vocab
Definition(KeyRef<'a>)
Implementations
sourceimpl<'a> EntryKeyRef<'a>
impl<'a> EntryKeyRef<'a>
Trait Implementations
sourceimpl<'a> Clone for EntryKeyRef<'a>
impl<'a> Clone for EntryKeyRef<'a>
sourcefn clone(&self) -> EntryKeyRef<'a>
fn clone(&self) -> EntryKeyRef<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> PartialEq<EntryKeyRef<'a>> for EntryKeyRef<'a>
impl<'a> PartialEq<EntryKeyRef<'a>> for EntryKeyRef<'a>
sourcefn eq(&self, other: &EntryKeyRef<'a>) -> bool
fn eq(&self, other: &EntryKeyRef<'a>) -> bool
sourceimpl<'a> PrecomputeSize for EntryKeyRef<'a>
impl<'a> PrecomputeSize for EntryKeyRef<'a>
sourceimpl<'a> Print for EntryKeyRef<'a>
impl<'a> Print for EntryKeyRef<'a>
fn fmt_with(
&self,
f: &mut Formatter<'_>,
_options: &Options,
_indent: usize
) -> Result
sourcefn pretty_print(&self) -> Printed<'_, Self>
fn pretty_print(&self) -> Printed<'_, Self>
Print the value with
Options::pretty
options.sourcefn compact_print(&self) -> Printed<'_, Self>
fn compact_print(&self) -> Printed<'_, Self>
Print the value with
Options::compact
options.sourcefn inline_print(&self) -> Printed<'_, Self>
fn inline_print(&self) -> Printed<'_, Self>
Print the value with
Options::inline
options.sourcefn print_with(&self, options: Options) -> Printed<'_, Self>
fn print_with(&self, options: Options) -> Printed<'_, Self>
Print the value with the given options.
impl<'a> Copy for EntryKeyRef<'a>
impl<'a> Eq for EntryKeyRef<'a>
impl<'a> StructuralEq for EntryKeyRef<'a>
impl<'a> StructuralPartialEq for EntryKeyRef<'a>
Auto Trait Implementations
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> UnwindSafe for EntryKeyRef<'a>
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
sourceimpl<T> BorrowStripped for T
impl<T> BorrowStripped for T
sourceimpl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
fn equivalent(&self, key: &K) -> bool
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.