Struct nzsc_single_player::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
repeated_character: Option<Character>
times: u8
Methods
impl CharacterStreak
[src]
Trait Implementations
impl Clone for CharacterStreak
[src]
fn clone(&self) -> CharacterStreak
[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