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

Methods

impl MoveStreak
[src]

[src]

[src]

Trait Implementations

impl Clone for MoveStreak
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for MoveStreak
[src]

Auto Trait Implementations

impl Send for MoveStreak

impl Sync for MoveStreak