Struct airmash_protocol::server::EventBounce [−][src]
pub struct EventBounce { pub clock: u32, pub id: Player, pub keystate: ServerKeyState, pub pos: Position, pub rot: Rotation, pub speed: Velocity, }
A player has run into a wall
Fields
clock: u32
id: Player
keystate: ServerKeyState
pos: Position
rot: Rotation
speed: Velocity
Trait Implementations
impl Copy for EventBounce
[src]
impl Copy for EventBounce
impl Clone for EventBounce
[src]
impl Clone for EventBounce
fn clone(&self) -> EventBounce
[src]
fn clone(&self) -> EventBounce
Returns 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 EventBounce
[src]
impl Debug for EventBounce
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<EventBounce> for ServerPacket
[src]
impl From<EventBounce> for ServerPacket
fn from(v: EventBounce) -> Self
[src]
fn from(v: EventBounce) -> Self
Performs the conversion.
Auto Trait Implementations
impl Send for EventBounce
impl Send for EventBounce
impl Sync for EventBounce
impl Sync for EventBounce