Enum json_ld_syntax::container::ContainerKind
source · pub enum ContainerKind {
Graph,
Id,
Index,
Language,
List,
Set,
Type,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for ContainerKind
impl Clone for ContainerKind
source§fn clone(&self) -> ContainerKind
fn clone(&self) -> ContainerKind
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 Debug for ContainerKind
impl Debug for ContainerKind
source§impl From<ContainerKind> for Container
impl From<ContainerKind> for Container
source§fn from(c: ContainerKind) -> Self
fn from(c: ContainerKind) -> Self
Converts to this type from the input type.
source§impl From<ContainerKind> for Keyword
impl From<ContainerKind> for Keyword
source§fn from(c: ContainerKind) -> Keyword
fn from(c: ContainerKind) -> Keyword
Converts to this type from the input type.
source§impl Hash for ContainerKind
impl Hash for ContainerKind
source§impl Ord for ContainerKind
impl Ord for ContainerKind
source§fn cmp(&self, other: &ContainerKind) -> Ordering
fn cmp(&self, other: &ContainerKind) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ContainerKind
impl PartialEq for ContainerKind
source§fn eq(&self, other: &ContainerKind) -> bool
fn eq(&self, other: &ContainerKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ContainerKind
impl PartialOrd for ContainerKind
source§fn partial_cmp(&self, other: &ContainerKind) -> Option<Ordering>
fn partial_cmp(&self, other: &ContainerKind) -> Option<Ordering>
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 ContainerKind
impl PrecomputeSize for ContainerKind
source§impl Print for ContainerKind
impl Print for ContainerKind
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 PrintWithSize for ContainerKind
impl PrintWithSize for ContainerKind
source§impl<'a> TryFrom<&'a str> for ContainerKind
impl<'a> TryFrom<&'a str> for ContainerKind
source§impl TryFrom<Keyword> for ContainerKind
impl TryFrom<Keyword> for ContainerKind
source§impl TryFromJson for ContainerKind
impl TryFromJson for ContainerKind
type Error = InvalidContext
fn try_from_json(value: Value) -> Result<Self, InvalidContext>
impl Copy for ContainerKind
impl Eq for ContainerKind
impl StructuralPartialEq for ContainerKind
Auto Trait Implementations§
impl Freeze for ContainerKind
impl RefUnwindSafe for ContainerKind
impl Send for ContainerKind
impl Sync for ContainerKind
impl Unpin for ContainerKind
impl UnwindSafe for ContainerKind
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> CallHasher for T
impl<T> CallHasher for 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.