Enum preserves::value::repr::CompoundClass
source · pub enum CompoundClass {
Record,
Sequence,
Set,
Dictionary,
}
Expand description
The kinds of Compound
from the specification.
Variants§
Trait Implementations§
source§impl Clone for CompoundClass
impl Clone for CompoundClass
source§fn clone(&self) -> CompoundClass
fn clone(&self) -> CompoundClass
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 CompoundClass
impl Debug for CompoundClass
source§impl Hash for CompoundClass
impl Hash for CompoundClass
source§impl Ord for CompoundClass
impl Ord for CompoundClass
source§fn cmp(&self, other: &CompoundClass) -> Ordering
fn cmp(&self, other: &CompoundClass) -> 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 CompoundClass
impl PartialEq for CompoundClass
source§fn eq(&self, other: &CompoundClass) -> bool
fn eq(&self, other: &CompoundClass) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CompoundClass
impl PartialOrd for CompoundClass
source§fn partial_cmp(&self, other: &CompoundClass) -> Option<Ordering>
fn partial_cmp(&self, other: &CompoundClass) -> 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 moreimpl Eq for CompoundClass
impl StructuralPartialEq for CompoundClass
Auto Trait Implementations§
impl Freeze for CompoundClass
impl RefUnwindSafe for CompoundClass
impl Send for CompoundClass
impl Sync for CompoundClass
impl Unpin for CompoundClass
impl UnwindSafe for CompoundClass
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