#[repr(C)]pub struct GCExtendedGamepadSnapShotDataV100 {Show 16 fields
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,
pub leftThumbstickX: c_float,
pub leftThumbstickY: c_float,
pub rightThumbstickX: c_float,
pub rightThumbstickY: c_float,
pub leftTrigger: c_float,
pub rightTrigger: c_float,
}
👎Deprecated:
icrate::GameController
has been moved to objc2-game-controller
Available on crate feature
GameController
only.Fields§
§version: u16
👎Deprecated:
§icrate::GameController
has been moved to objc2-game-controller
size: u16
👎Deprecated:
§icrate::GameController
has been moved to objc2-game-controller
dpadX: c_float
👎Deprecated:
§icrate::GameController
has been moved to objc2-game-controller
dpadY: c_float
👎Deprecated:
icrate::GameController
has been moved to objc2-game-controller
👎Deprecated:
icrate::GameController
has been moved to objc2-game-controller
👎Deprecated:
icrate::GameController
has been moved to objc2-game-controller
👎Deprecated:
icrate::GameController
has been moved to objc2-game-controller
👎Deprecated:
§icrate::GameController
has been moved to objc2-game-controller
leftShoulder: c_float
👎Deprecated:
§icrate::GameController
has been moved to objc2-game-controller
rightShoulder: c_float
👎Deprecated:
§icrate::GameController
has been moved to objc2-game-controller
leftThumbstickX: c_float
👎Deprecated:
§icrate::GameController
has been moved to objc2-game-controller
leftThumbstickY: c_float
👎Deprecated:
§icrate::GameController
has been moved to objc2-game-controller
rightThumbstickX: c_float
👎Deprecated:
§icrate::GameController
has been moved to objc2-game-controller
rightThumbstickY: c_float
👎Deprecated:
§icrate::GameController
has been moved to objc2-game-controller
leftTrigger: c_float
👎Deprecated:
§icrate::GameController
has been moved to objc2-game-controller
rightTrigger: c_float
👎Deprecated:
icrate::GameController
has been moved to objc2-game-controller
Trait Implementations§
source§impl Clone for GCExtendedGamepadSnapShotDataV100
impl Clone for GCExtendedGamepadSnapShotDataV100
source§fn clone(&self) -> GCExtendedGamepadSnapShotDataV100
fn clone(&self) -> GCExtendedGamepadSnapShotDataV100
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 Encode for GCExtendedGamepadSnapShotDataV100
Available on crate feature objective-c
only.
impl Encode for GCExtendedGamepadSnapShotDataV100
Available on crate feature
objective-c
only.source§impl PartialEq for GCExtendedGamepadSnapShotDataV100
impl PartialEq for GCExtendedGamepadSnapShotDataV100
source§fn eq(&self, other: &GCExtendedGamepadSnapShotDataV100) -> bool
fn eq(&self, other: &GCExtendedGamepadSnapShotDataV100) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RefEncode for GCExtendedGamepadSnapShotDataV100
Available on crate feature objective-c
only.
impl RefEncode for GCExtendedGamepadSnapShotDataV100
Available on crate feature
objective-c
only.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 GCExtendedGamepadSnapShotDataV100
impl StructuralPartialEq for GCExtendedGamepadSnapShotDataV100
Auto Trait Implementations§
impl Freeze for GCExtendedGamepadSnapShotDataV100
impl RefUnwindSafe for GCExtendedGamepadSnapShotDataV100
impl Send for GCExtendedGamepadSnapShotDataV100
impl Sync for GCExtendedGamepadSnapShotDataV100
impl Unpin for GCExtendedGamepadSnapShotDataV100
impl UnwindSafe for GCExtendedGamepadSnapShotDataV100
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> 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.