Struct airmash_protocol::server::ScoreBoard [−][src]
pub struct ScoreBoard {
pub data: Vec<ScoreBoardData>,
pub rankings: Vec<ScoreBoardRanking>,
}Leaderboard + Global player positions
This is sent every 5 seconds by the server and is used by the client to update the leaderboard and minimap.
Fields
data: Vec<ScoreBoardData>
rankings: Vec<ScoreBoardRanking>
Trait Implementations
impl Clone for ScoreBoard[src]
impl Clone for ScoreBoardfn clone(&self) -> ScoreBoard[src]
fn clone(&self) -> ScoreBoardReturns 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
impl Debug for ScoreBoard[src]
impl Debug for ScoreBoardfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<ScoreBoard> for ServerPacket[src]
impl From<ScoreBoard> for ServerPacketfn from(v: ScoreBoard) -> Self[src]
fn from(v: ScoreBoard) -> SelfPerforms the conversion.
Auto Trait Implementations
impl Send for ScoreBoard
impl Send for ScoreBoardimpl Sync for ScoreBoard
impl Sync for ScoreBoard