pub enum ContextEntry {
Null,
IriRef(IriRefBuf),
Definition(Definition),
}
Expand description
Context.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ContextEntry
impl Clone for ContextEntry
Source§fn clone(&self) -> ContextEntry
fn clone(&self) -> ContextEntry
Returns a duplicate 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 Debug for ContextEntry
impl Debug for ContextEntry
Source§impl<'a> From<&'a Iri> for ContextEntry
impl<'a> From<&'a Iri> for ContextEntry
Source§impl<'a> From<&'a IriRef> for ContextEntry
impl<'a> From<&'a IriRef> for ContextEntry
Source§impl From<ContextEntry> for Context
impl From<ContextEntry> for Context
Source§fn from(c: ContextEntry) -> Self
fn from(c: ContextEntry) -> Self
Converts to this type from the input type.
Source§impl From<Definition> for ContextEntry
impl From<Definition> for ContextEntry
Source§fn from(c: Definition) -> Self
fn from(c: Definition) -> Self
Converts to this type from the input type.
Source§impl From<IriBuf> for ContextEntry
impl From<IriBuf> for ContextEntry
Source§impl From<IriRefBuf> for ContextEntry
impl From<IriRefBuf> for ContextEntry
Source§impl PartialEq for ContextEntry
impl PartialEq for ContextEntry
Source§impl PrecomputeSize for ContextEntry
impl PrecomputeSize for ContextEntry
Source§impl PrintWithSize for ContextEntry
impl PrintWithSize for ContextEntry
Source§impl TryFromJson for ContextEntry
impl TryFromJson for ContextEntry
type Error = InvalidContext
fn try_from_json(value: Value) -> Result<Self, InvalidContext>
impl Eq for ContextEntry
impl StructuralPartialEq for ContextEntry
Auto Trait Implementations§
impl Freeze for ContextEntry
impl RefUnwindSafe for ContextEntry
impl Send for ContextEntry
impl Sync for ContextEntry
impl Unpin for ContextEntry
impl UnwindSafe for ContextEntry
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<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
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.