Struct json_ld_syntax::context::definition::Vocab
source · pub struct Vocab(/* private fields */);
Implementations§
Trait Implementations§
source§impl<'a> From<&'a Vocab> for ExpandableRef<'a>
impl<'a> From<&'a Vocab> for ExpandableRef<'a>
source§impl Ord for Vocab
impl Ord for Vocab
source§impl PartialEq for Vocab
impl PartialEq for Vocab
source§impl PartialOrd for Vocab
impl PartialOrd for Vocab
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl PrecomputeSize for Vocab
impl PrecomputeSize for Vocab
source§impl Print for Vocab
impl Print for Vocab
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.
source§impl TryFromJson for Vocab
impl TryFromJson for Vocab
type Error = InvalidContext
fn try_from_json(value: Value) -> Result<Self, InvalidContext>
impl Eq for Vocab
impl StructuralPartialEq for Vocab
Auto Trait Implementations§
impl Freeze for Vocab
impl RefUnwindSafe for Vocab
impl Send for Vocab
impl Sync for Vocab
impl Unpin for Vocab
impl UnwindSafe for Vocab
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.