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§
Implementations§
Trait Implementations§
source§impl<'a> Clone for EntryKeyRef<'a>
impl<'a> Clone for EntryKeyRef<'a>
source§fn clone(&self) -> EntryKeyRef<'a>
fn clone(&self) -> EntryKeyRef<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> PartialEq<EntryKeyRef<'a>> for EntryKeyRef<'a>
impl<'a> PartialEq<EntryKeyRef<'a>> for EntryKeyRef<'a>
source§fn eq(&self, other: &EntryKeyRef<'a>) -> bool
fn eq(&self, other: &EntryKeyRef<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> PrecomputeSize for EntryKeyRef<'a>
impl<'a> PrecomputeSize for EntryKeyRef<'a>
source§impl<'a> Print for EntryKeyRef<'a>
impl<'a> Print for EntryKeyRef<'a>
fn fmt_with(
&self,
f: &mut Formatter<'_>,
_options: &Options,
_indent: usize
) -> Result
source§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> 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§
source§impl<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
source§impl<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.