pub struct EventRepelMob {
pub id: Mob,
pub ty: MobType,
pub pos: Position,
pub speed: Velocity,
pub accel: Accel,
pub max_speed: Speed,
}Expand description
A projectile has been repelled by a goliath
Fields§
§id: Mob§ty: MobType§pos: Position§speed: Velocity§accel: Accel§max_speed: SpeedTrait Implementations§
Source§impl Clone for EventRepelMob
impl Clone for EventRepelMob
Source§fn clone(&self) -> EventRepelMob
fn clone(&self) -> EventRepelMob
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 EventRepelMob
impl Debug for EventRepelMob
Source§impl<'de> DeserializeV5<'de> for EventRepelMob
impl<'de> DeserializeV5<'de> for EventRepelMob
fn deserialize(de: &mut AirmashDeserializerV5<'de>) -> Result<Self>
Source§impl SerializeV5 for EventRepelMob
impl SerializeV5 for EventRepelMob
fn serialize<'ser>(&self, ser: &mut AirmashSerializerV5<'ser>) -> Result
impl Copy for EventRepelMob
Auto Trait Implementations§
impl Freeze for EventRepelMob
impl RefUnwindSafe for EventRepelMob
impl Send for EventRepelMob
impl Sync for EventRepelMob
impl Unpin for EventRepelMob
impl UnwindSafe for EventRepelMob
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