#[repr(C)]pub struct GamepadDevice {
pub base: InputDevice,
pub deviceID: c_long,
pub axisX: [f32; 2],
pub axisY: [f32; 2],
pub pressed: [cc_bool; 23],
pub holdtime: [f32; 23],
}
Fields§
§base: InputDevice
§deviceID: c_long
§axisX: [f32; 2]
§axisY: [f32; 2]
§pressed: [cc_bool; 23]
§holdtime: [f32; 23]
Trait Implementations§
Source§impl Clone for GamepadDevice
impl Clone for GamepadDevice
Source§fn clone(&self) -> GamepadDevice
fn clone(&self) -> GamepadDevice
Returns a copy 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 GamepadDevice
impl Debug for GamepadDevice
Source§impl PartialEq for GamepadDevice
impl PartialEq for GamepadDevice
impl Copy for GamepadDevice
impl StructuralPartialEq for GamepadDevice
Auto Trait Implementations§
impl Freeze for GamepadDevice
impl RefUnwindSafe for GamepadDevice
impl !Send for GamepadDevice
impl !Sync for GamepadDevice
impl Unpin for GamepadDevice
impl UnwindSafe for GamepadDevice
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