pub struct PadState {
pub connected: bool,
pub epoch: u32,
pub axes: [f32; 16],
pub buttons: [f32; 32],
}Fields§
§connected: bool§epoch: u32§axes: [f32; 16]Trait Implementations§
impl Copy for PadState
impl StructuralPartialEq for PadState
Auto Trait Implementations§
impl Freeze for PadState
impl RefUnwindSafe for PadState
impl Send for PadState
impl Sync for PadState
impl Unpin for PadState
impl UnwindSafe for PadState
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