Struct nzsc_single_player::streaks::MoveStreak
[−]
[src]
pub struct MoveStreak { pub repeated_move: Option<Move>, pub times: u8, }
Keeps track of how many times you chose a move in a row.
Used for enforcing three-times-in-a-row rule.
Fields
repeated_move: Option<Move>
times: u8
Methods
impl MoveStreak
[src]
Trait Implementations
impl Clone for MoveStreak
[src]
fn clone(&self) -> MoveStreak
[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