Struct simple_cards::cards::Card [] [src]

pub struct Card {
    pub suit: Suit,
    pub value: Value,
}

Fields

Methods

impl Card
[src]

[src]

Returns whether or not a card is a face card.

Trait Implementations

impl Debug for Card
[src]

[src]

Formats the value using the given formatter.

impl Clone for Card
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Card
[src]

impl PartialEq for Card
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Card
[src]

impl Display for Card
[src]

[src]

Formats the value using the given formatter. Read more