Struct nzsc_core::streaks::CharacterStreak[][src]

pub struct CharacterStreak {
    pub repeated_character: Option<Character>,
    pub times: u8,
}

Keeps track of how many times you chose a character in a row.

Used for enforcing three-times-in-a-row rule.

Fields

Methods

impl CharacterStreak
[src]

Trait Implementations

impl Clone for CharacterStreak
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for CharacterStreak
[src]

Auto Trait Implementations