pub enum Multiplicity {
Some,
No,
One,
Lone,
}Expand description
A multiplicity of an expression: some a, no a, one a, lone a.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for Multiplicity
impl Clone for Multiplicity
Source§fn clone(&self) -> Multiplicity
fn clone(&self) -> Multiplicity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Multiplicity
Source§impl Debug for Multiplicity
impl Debug for Multiplicity
impl Eq for Multiplicity
Source§impl Hash for Multiplicity
impl Hash for Multiplicity
Source§impl Ord for Multiplicity
impl Ord for Multiplicity
Source§fn cmp(&self, other: &Multiplicity) -> Ordering
fn cmp(&self, other: &Multiplicity) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for Multiplicity
impl PartialEq for Multiplicity
Source§impl PartialOrd for Multiplicity
impl PartialOrd for Multiplicity
impl StructuralPartialEq for Multiplicity
Auto Trait Implementations§
impl Forget for Multiplicity
impl Freeze for Multiplicity
impl Move for Multiplicity
impl RefUnwindSafe for Multiplicity
impl Send for Multiplicity
impl Sync for Multiplicity
impl Unpin for Multiplicity
impl UnsafeUnpin for Multiplicity
impl UnwindSafe for Multiplicity
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