Struct airmash_protocol::server::PlayerType
[−]
[src]
pub struct PlayerType { pub id: u16, pub ty: PlaneType, }
Event fired when a player changes their plane.
Fields
id: u16
Player id
ty: PlaneType
New plane type
Trait Implementations
impl Clone for PlayerType
[src]
fn clone(&self) -> PlayerType
[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
impl Debug for PlayerType
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more