pub struct EventStealth {
pub id: Player,
pub state: bool,
pub energy: Energy,
pub energy_regen: EnergyRegen,
}Expand description
A prowler has entered/exited stealth mode
Fields§
§id: Player§state: bool§energy: Energy§energy_regen: EnergyRegenTrait Implementations§
Source§impl Clone for EventStealth
impl Clone for EventStealth
Source§fn clone(&self) -> EventStealth
fn clone(&self) -> EventStealth
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 EventStealth
impl Debug for EventStealth
Source§impl<'de> DeserializeV5<'de> for EventStealth
impl<'de> DeserializeV5<'de> for EventStealth
fn deserialize(de: &mut AirmashDeserializerV5<'de>) -> Result<Self>
Source§impl From<EventStealth> for ServerPacket
impl From<EventStealth> for ServerPacket
Source§fn from(v: EventStealth) -> Self
fn from(v: EventStealth) -> Self
Converts to this type from the input type.
Source§impl SerializeV5 for EventStealth
impl SerializeV5 for EventStealth
fn serialize<'ser>(&self, ser: &mut AirmashSerializerV5<'ser>) -> Result
impl Copy for EventStealth
Auto Trait Implementations§
impl Freeze for EventStealth
impl RefUnwindSafe for EventStealth
impl Send for EventStealth
impl Sync for EventStealth
impl Unpin for EventStealth
impl UnwindSafe for EventStealth
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