#[repr(C)]pub struct GCGamepadSnapShotDataV100 {
pub version: u16,
pub size: u16,
pub dpadX: c_float,
pub dpadY: c_float,
pub buttonA: c_float,
pub buttonB: c_float,
pub buttonX: c_float,
pub buttonY: c_float,
pub leftShoulder: c_float,
pub rightShoulder: c_float,
}
Available on crate feature
GCGamepadSnapshot
only.Expand description
Fields§
§version: u16
§size: u16
§dpadX: c_float
§dpadY: c_float
§leftShoulder: c_float
§rightShoulder: c_float
Trait Implementations§
Source§impl Clone for GCGamepadSnapShotDataV100
impl Clone for GCGamepadSnapShotDataV100
Source§fn clone(&self) -> GCGamepadSnapShotDataV100
fn clone(&self) -> GCGamepadSnapShotDataV100
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 GCGamepadSnapShotDataV100
impl Debug for GCGamepadSnapShotDataV100
Source§impl Encode for GCGamepadSnapShotDataV100
impl Encode for GCGamepadSnapShotDataV100
Source§impl RefEncode for GCGamepadSnapShotDataV100
impl RefEncode for GCGamepadSnapShotDataV100
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for GCGamepadSnapShotDataV100
impl StructuralPartialEq for GCGamepadSnapShotDataV100
Auto Trait Implementations§
impl Freeze for GCGamepadSnapShotDataV100
impl RefUnwindSafe for GCGamepadSnapShotDataV100
impl Send for GCGamepadSnapShotDataV100
impl Sync for GCGamepadSnapShotDataV100
impl Unpin for GCGamepadSnapShotDataV100
impl UnwindSafe for GCGamepadSnapShotDataV100
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§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.