Struct sc2::data::PlayerResult
[−]
[src]
pub struct PlayerResult { /* fields omitted */ }
game result tied to a specific player id
Methods
impl PlayerResult
[src]
pub fn get_player_id(&self) -> u32
[src]
player that the result is associated with
pub fn get_result(&self) -> GameResult
[src]
result of the game from the perspective of the player
Trait Implementations
impl Debug for PlayerResult
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for PlayerResult
[src]
impl Clone for PlayerResult
[src]
fn clone(&self) -> PlayerResult
[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