pub struct MobUpdateStationary {
pub id: Mob,
pub ty: MobType,
pub pos: Position,
}Expand description
Update for an immobile mob.
This is sent when a powerup is enters a player’s view radius.
Fields§
§id: Mob§ty: MobType§pos: PositionTrait Implementations§
Source§impl Clone for MobUpdateStationary
impl Clone for MobUpdateStationary
Source§fn clone(&self) -> MobUpdateStationary
fn clone(&self) -> MobUpdateStationary
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 MobUpdateStationary
impl Debug for MobUpdateStationary
Source§impl<'de> DeserializeV5<'de> for MobUpdateStationary
impl<'de> DeserializeV5<'de> for MobUpdateStationary
fn deserialize(de: &mut AirmashDeserializerV5<'de>) -> Result<Self>
Source§impl From<MobUpdateStationary> for ServerPacket
impl From<MobUpdateStationary> for ServerPacket
Source§fn from(v: MobUpdateStationary) -> Self
fn from(v: MobUpdateStationary) -> Self
Converts to this type from the input type.
Source§impl SerializeV5 for MobUpdateStationary
impl SerializeV5 for MobUpdateStationary
fn serialize<'ser>(&self, ser: &mut AirmashSerializerV5<'ser>) -> Result
impl Copy for MobUpdateStationary
Auto Trait Implementations§
impl Freeze for MobUpdateStationary
impl RefUnwindSafe for MobUpdateStationary
impl Send for MobUpdateStationary
impl Sync for MobUpdateStationary
impl Unpin for MobUpdateStationary
impl UnwindSafe for MobUpdateStationary
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