Enum json_ld_syntax::context::definition::EntryKeyRef
source · pub enum EntryKeyRef<'a> {
Base,
Import,
Language,
Direction,
Propagate,
Protected,
Type,
Version,
Vocab,
Definition(&'a Key),
}
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 for EntryKeyRef<'a>
impl<'a> PartialEq 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> 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> 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
fn as_unordered(&self) -> &Unordered<T>
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
fn equivalent(&self, key: &K) -> bool
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.