Struct simple_cards::cards::Card
[−]
[src]
pub struct Card {
pub suit: Suit,
pub value: Value,
}Fields
suit: Suit
value: Value
Methods
impl Card[src]
Trait Implementations
impl Debug for Card[src]
impl Clone for Card[src]
fn clone(&self) -> Card[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for Card[src]
impl PartialEq for Card[src]
fn eq(&self, __arg_0: &Card) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Card) -> bool[src]
This method tests for !=.