Enum rs_handstrength::Suit
source · pub enum Suit {
S,
H,
C,
D,
A,
}
Variants§
Trait Implementations§
source§impl Ord for Suit
impl Ord for Suit
source§impl PartialEq for Suit
impl PartialEq for Suit
source§impl PartialOrd for Suit
impl PartialOrd for Suit
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 Copy for Suit
impl Eq for Suit
impl StructuralPartialEq for Suit
Auto Trait Implementations§
impl RefUnwindSafe for Suit
impl Send for Suit
impl Sync for Suit
impl Unpin for Suit
impl UnwindSafe for Suit
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