pub struct EnumValue(/* private fields */);
Expand description
Representation of a single enum value of an EnumClass
.
Implementations§
Trait Implementations§
source§impl Ord for EnumValue
impl Ord for EnumValue
source§impl PartialEq for EnumValue
impl PartialEq for EnumValue
source§impl PartialOrd for EnumValue
impl PartialOrd for EnumValue
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 EnumValue
impl Send for EnumValue
impl Sync for EnumValue
Auto Trait Implementations§
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