Enum spades::Suit [−][src]
pub enum Suit { Blank, Club, Diamond, Heart, Spade, }
Variants
Blank
Club
Diamond
Heart
Spade
Trait Implementations
impl Clone for Suit
[src]
impl Clone for Suit
fn clone(&self) -> Suit
[src]
fn clone(&self) -> Suit
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Suit
[src]
impl Copy for Suit
impl PartialEq for Suit
[src]
impl PartialEq for Suit
fn eq(&self, other: &Suit) -> bool
[src]
fn eq(&self, other: &Suit) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for Suit
[src]
impl Eq for Suit
impl Debug for Suit
[src]
impl Debug for Suit