pub struct EventLeaveHorizon {
pub ty: LeaveHorizonType,
pub id: u16,
}Expand description
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: u16This could be either a player or a mob
Trait Implementations§
Source§impl Clone for EventLeaveHorizon
impl Clone for EventLeaveHorizon
Source§fn clone(&self) -> EventLeaveHorizon
fn clone(&self) -> EventLeaveHorizon
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EventLeaveHorizon
impl Debug for EventLeaveHorizon
Source§impl<'de> DeserializeV5<'de> for EventLeaveHorizon
impl<'de> DeserializeV5<'de> for EventLeaveHorizon
fn deserialize(de: &mut AirmashDeserializerV5<'de>) -> Result<Self>
Source§impl From<EventLeaveHorizon> for ServerPacket
impl From<EventLeaveHorizon> for ServerPacket
Source§fn from(v: EventLeaveHorizon) -> Self
fn from(v: EventLeaveHorizon) -> Self
Converts to this type from the input type.
Source§impl SerializeV5 for EventLeaveHorizon
impl SerializeV5 for EventLeaveHorizon
fn serialize<'ser>(&self, ser: &mut AirmashSerializerV5<'ser>) -> Result
impl Copy for EventLeaveHorizon
Auto Trait Implementations§
impl Freeze for EventLeaveHorizon
impl RefUnwindSafe for EventLeaveHorizon
impl Send for EventLeaveHorizon
impl Sync for EventLeaveHorizon
impl Unpin for EventLeaveHorizon
impl UnwindSafe for EventLeaveHorizon
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more