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