pub struct EventBounce {
pub clock: u32,
pub id: Player,
pub keystate: ServerKeyState,
pub pos: Position,
pub rot: Rotation,
pub speed: Velocity,
}Expand description
A player has run into a wall
Fields§
§clock: u32§id: Player§keystate: ServerKeyState§pos: Position§rot: Rotation§speed: VelocityTrait Implementations§
Source§impl Clone for EventBounce
impl Clone for EventBounce
Source§fn clone(&self) -> EventBounce
fn clone(&self) -> EventBounce
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 EventBounce
impl Debug for EventBounce
Source§impl<'de> DeserializeV5<'de> for EventBounce
impl<'de> DeserializeV5<'de> for EventBounce
fn deserialize(de: &mut AirmashDeserializerV5<'de>) -> Result<Self>
Source§impl From<EventBounce> for ServerPacket
impl From<EventBounce> for ServerPacket
Source§fn from(v: EventBounce) -> Self
fn from(v: EventBounce) -> Self
Converts to this type from the input type.
Source§impl SerializeV5 for EventBounce
impl SerializeV5 for EventBounce
fn serialize<'ser>(&self, ser: &mut AirmashSerializerV5<'ser>) -> Result
impl Copy for EventBounce
Auto Trait Implementations§
impl Freeze for EventBounce
impl RefUnwindSafe for EventBounce
impl Send for EventBounce
impl Sync for EventBounce
impl Unpin for EventBounce
impl UnwindSafe for EventBounce
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