Struct airmash_protocol::server::EventLeaveHorizon [−][src]
pub struct EventLeaveHorizon {
pub ty: LeaveHorizonType,
pub id: u16,
}Event for when a player goes beyond the event horizon.
This indicates that the server will stop sending updates about this plane until it comes back within the event horizon.
Fields
ty: LeaveHorizonType
id: u16
This could be either a player or a mob TODO: Create Entity type
Trait Implementations
impl Copy for EventLeaveHorizon[src]
impl Copy for EventLeaveHorizonimpl Clone for EventLeaveHorizon[src]
impl Clone for EventLeaveHorizonfn clone(&self) -> EventLeaveHorizon[src]
fn clone(&self) -> EventLeaveHorizonReturns 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 EventLeaveHorizon[src]
impl Debug for EventLeaveHorizonfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<EventLeaveHorizon> for ServerPacket[src]
impl From<EventLeaveHorizon> for ServerPacketfn from(v: EventLeaveHorizon) -> Self[src]
fn from(v: EventLeaveHorizon) -> SelfPerforms the conversion.
Auto Trait Implementations
impl Send for EventLeaveHorizon
impl Send for EventLeaveHorizonimpl Sync for EventLeaveHorizon
impl Sync for EventLeaveHorizon