Enum json_ld::object::EntryKeyRef
source · pub enum EntryKeyRef<'a, T, B, M> {
Value(EntryKey),
List(&'a M),
Node(EntryKeyRef<'a, T, B, M>),
}
Variants§
Implementations§
Trait Implementations§
source§impl<'a, T, B, M> Clone for EntryKeyRef<'a, T, B, M>
impl<'a, T, B, M> Clone for EntryKeyRef<'a, T, B, M>
source§fn clone(&self) -> EntryKeyRef<'a, T, B, M>
fn clone(&self) -> EntryKeyRef<'a, T, B, M>
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, T, B, M, N> IntoRefWithContext<'a, str, N> for EntryKeyRef<'a, T, B, M>where
N: Vocabulary<Iri = T, BlankId = B>,
impl<'a, T, B, M, N> IntoRefWithContext<'a, str, N> for EntryKeyRef<'a, T, B, M>where N: Vocabulary<Iri = T, BlankId = B>,
fn into_ref_with(self, vocabulary: &'a N) -> &'a str
source§impl<'a, T, B, M> PartialEq<EntryKeyRef<'a, T, B, M>> for EntryKeyRef<'a, T, B, M>where
T: PartialEq<T>,
B: PartialEq<B>,
M: PartialEq<M>,
impl<'a, T, B, M> PartialEq<EntryKeyRef<'a, T, B, M>> for EntryKeyRef<'a, T, B, M>where T: PartialEq<T>, B: PartialEq<B>, M: PartialEq<M>,
source§fn eq(&self, other: &EntryKeyRef<'a, T, B, M>) -> bool
fn eq(&self, other: &EntryKeyRef<'a, T, B, M>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a, T, B, M> Copy for EntryKeyRef<'a, T, B, M>
impl<'a, T, B, M> Eq for EntryKeyRef<'a, T, B, M>where T: Eq, B: Eq, M: Eq,
impl<'a, T, B, M> StructuralEq for EntryKeyRef<'a, T, B, M>
impl<'a, T, B, M> StructuralPartialEq for EntryKeyRef<'a, T, B, M>
Auto Trait Implementations§
impl<'a, T, B, M> RefUnwindSafe for EntryKeyRef<'a, T, B, M>where B: RefUnwindSafe, M: RefUnwindSafe, T: RefUnwindSafe,
impl<'a, T, B, M> Send for EntryKeyRef<'a, T, B, M>where B: Sync, M: Sync, T: Sync,
impl<'a, T, B, M> Sync for EntryKeyRef<'a, T, B, M>where B: Sync, M: Sync, T: Sync,
impl<'a, T, B, M> Unpin for EntryKeyRef<'a, T, B, M>
impl<'a, T, B, M> UnwindSafe for EntryKeyRef<'a, T, B, M>where B: RefUnwindSafe, M: RefUnwindSafe, T: RefUnwindSafe,
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<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
§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
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
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.