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 EventBounceimpl Clone for EventBounce[src]
impl Clone for EventBouncefn clone(&self) -> EventBounce[src]
fn clone(&self) -> EventBounceReturns 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 EventBouncefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<EventBounce> for ServerPacket[src]
impl From<EventBounce> for ServerPacketfn from(v: EventBounce) -> Self[src]
fn from(v: EventBounce) -> SelfPerforms the conversion.
Auto Trait Implementations
impl Send for EventBounce
impl Send for EventBounceimpl Sync for EventBounce
impl Sync for EventBounce