Struct bowling::Player
[−]
[src]
pub struct Player { /* fields omitted */ }
Methods
impl Player
[src]
fn new<S: Into<String>>(name: S) -> Player
[src]
fn add_frame(&mut self) -> Result<(), Error>
[src]
fn add_throw(&mut self, throw: Throw)
[src]
fn name(&self) -> &str
[src]
Trait Implementations
impl Clone for Player
[src]
fn clone(&self) -> Player
[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