Struct airmash_protocol::server::MobUpdate [−][src]
pub struct MobUpdate {
pub clock: u32,
pub id: Mob,
pub ty: MobType,
pub pos: Position,
pub speed: Velocity,
pub accel: Accel,
pub max_speed: Speed,
}Fields
clock: u32
id: Mob
ty: MobType
pos: Position
speed: Velocity
accel: Accel
max_speed: Speed
Trait Implementations
impl Copy for MobUpdate[src]
impl Copy for MobUpdateimpl Clone for MobUpdate[src]
impl Clone for MobUpdatefn clone(&self) -> MobUpdate[src]
fn clone(&self) -> MobUpdateReturns 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 MobUpdate[src]
impl Debug for MobUpdatefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<MobUpdate> for ServerPacket[src]
impl From<MobUpdate> for ServerPacket