Struct sc2::data::PlayerResult [−][src]
pub struct PlayerResult { /* fields omitted */ }
Game result tied to a specific player id.
Methods
impl PlayerResult
[src]
impl PlayerResult
pub fn get_player_id(&self) -> u32
[src]
pub fn get_player_id(&self) -> u32
Player that the result is associated with.
pub fn get_result(&self) -> GameResult
[src]
pub fn get_result(&self) -> GameResult
Result of the game from the perspective of the player.
Trait Implementations
impl Debug for PlayerResult
[src]
impl Debug for PlayerResult
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for PlayerResult
[src]
impl Copy for PlayerResult
impl Clone for PlayerResult
[src]
impl Clone for PlayerResult
fn clone(&self) -> PlayerResult
[src]
fn clone(&self) -> PlayerResult
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for PlayerResult
impl Send for PlayerResult
impl Sync for PlayerResult
impl Sync for PlayerResult