Enum libcoinche::cards::Suit
source · [−]#[repr(u32)]
pub enum Suit {
Heart,
Spade,
Diamond,
Club,
}
Expand description
One of the four Suits: Heart, Spade, Diamond, Club.
Variants
Heart
The suit of hearts.
Spade
The suit of spades.
Diamond
The suit of diamonds.
Club
The suit of clubs.
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Suit
impl<'de> Deserialize<'de> for Suit
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Suit
impl Eq for Suit
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more