Enum spades::Rank [−][src]
pub enum Rank { Blank, Two, Three, Four, Five, Six, Seven, Eight, Nine, Ten, Jack, Queen, King, Ace, }
Variants
Blank
Two
Three
Four
Five
Six
Seven
Eight
Nine
Ten
Jack
Queen
King
Ace
Trait Implementations
impl Clone for Rank
[src]
impl Clone for Rank
fn clone(&self) -> Rank
[src]
fn clone(&self) -> Rank
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 Rank
[src]
impl Copy for Rank
impl PartialEq for Rank
[src]
impl PartialEq for Rank
fn eq(&self, other: &Rank) -> bool
[src]
fn eq(&self, other: &Rank) -> 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 Rank
[src]
impl Eq for Rank
impl Debug for Rank
[src]
impl Debug for Rank