Struct airmash_protocol::server::PlayerNew [−][src]
pub struct PlayerNew {
pub id: Player,
pub status: PlayerStatus,
pub name: String,
pub ty: PlaneType,
pub team: Team,
pub pos: Position,
pub rot: Rotation,
pub flag: FlagCode,
pub upgrades: Upgrades,
}Data for a newly-joined player.
Fields
id: Player
status: PlayerStatus
name: String
ty: PlaneType
team: Team
pos: Position
rot: Rotation
flag: FlagCode
upgrades: Upgrades
Trait Implementations
impl Clone for PlayerNew[src]
impl Clone for PlayerNewfn clone(&self) -> PlayerNew[src]
fn clone(&self) -> PlayerNewReturns 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 PlayerNew[src]
impl Debug for PlayerNewfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<PlayerNew> for ServerPacket[src]
impl From<PlayerNew> for ServerPacket