Struct classicube_sys::GamepadDevice
source · #[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
source§fn eq(&self, other: &GamepadDevice) -> bool
fn eq(&self, other: &GamepadDevice) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)