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