pub struct NetInput {
pub frame: u64,
pub player: u8,
pub buttons: u32,
pub axes: [i16; 4],
pub checksum: u16,
}Expand description
Input for one player at a given frame.
Fields§
§frame: u64§player: u8§axes: [i16; 4]§checksum: u16Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NetInput
impl RefUnwindSafe for NetInput
impl Send for NetInput
impl Sync for NetInput
impl Unpin for NetInput
impl UnsafeUnpin for NetInput
impl UnwindSafe for NetInput
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