Struct bowling::GameState
[−]
[src]
pub struct GameState { /* fields omitted */ }
Methods
impl GameState
[src]
fn new() -> GameState
[src]
fn reset(&mut self)
[src]
fn render_scores(&self)
[src]
fn to_json(&self)
[src]
fn add_player<P: Into<Player>>(&mut self, player: P)
[src]
fn add_throw(&self, _throw: Throw)
[src]
fn turn(&self) -> &str
[src]
fn set_catchup_handling(&mut self, catchup_handling: CatchupHandling)
[src]
fn player_count(&self) -> usize
[src]
Trait Implementations
impl Clone for GameState
[src]
fn clone(&self) -> GameState
[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