Struct airmash_protocol::server::PlayerLeave [−][src]
pub struct PlayerLeave {
pub id: Player,
}Packet for when a player leaves.
Fields
id: Player
Trait Implementations
impl Copy for PlayerLeave[src]
impl Copy for PlayerLeaveimpl Clone for PlayerLeave[src]
impl Clone for PlayerLeavefn clone(&self) -> PlayerLeave[src]
fn clone(&self) -> PlayerLeaveReturns 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 PlayerLeave[src]
impl Debug for PlayerLeavefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<PlayerLeave> for ServerPacket[src]
impl From<PlayerLeave> for ServerPacketfn from(v: PlayerLeave) -> Self[src]
fn from(v: PlayerLeave) -> SelfPerforms the conversion.
Auto Trait Implementations
impl Send for PlayerLeave
impl Send for PlayerLeaveimpl Sync for PlayerLeave
impl Sync for PlayerLeave