#[repr(transparent)]pub struct GCDualSenseAdaptiveTriggerMode(pub NSInteger);
Available on crate feature
GCDualSenseAdaptiveTrigger
only.Expand description
Tuple Fields§
§0: NSInteger
Implementations§
Source§impl GCDualSenseAdaptiveTriggerMode
impl GCDualSenseAdaptiveTriggerMode
Sourcepub const Feedback: Self
pub const Feedback: Self
The adaptive trigger effect provides constant feedback from the start position onwards.
Sourcepub const Weapon: Self
pub const Weapon: Self
The adaptive trigger effect provides feedback from the start position to the end position, emulating the feeling of pulling the trigger on a weapon.
Sourcepub const Vibration: Self
pub const Vibration: Self
The adaptive trigger effect provides a constant vibration effect from the start position onwards.
Sourcepub const SlopeFeedback: Self
pub const SlopeFeedback: Self
The adaptive trigger effect provides feedback from the start position to the end position, linearly interpolated between the start and end strengths.
Trait Implementations§
Source§impl Clone for GCDualSenseAdaptiveTriggerMode
impl Clone for GCDualSenseAdaptiveTriggerMode
Source§fn clone(&self) -> GCDualSenseAdaptiveTriggerMode
fn clone(&self) -> GCDualSenseAdaptiveTriggerMode
Returns a duplicate 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 Ord for GCDualSenseAdaptiveTriggerMode
impl Ord for GCDualSenseAdaptiveTriggerMode
Source§fn cmp(&self, other: &GCDualSenseAdaptiveTriggerMode) -> Ordering
fn cmp(&self, other: &GCDualSenseAdaptiveTriggerMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GCDualSenseAdaptiveTriggerMode
impl PartialEq for GCDualSenseAdaptiveTriggerMode
Source§fn eq(&self, other: &GCDualSenseAdaptiveTriggerMode) -> bool
fn eq(&self, other: &GCDualSenseAdaptiveTriggerMode) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for GCDualSenseAdaptiveTriggerMode
impl PartialOrd for GCDualSenseAdaptiveTriggerMode
Source§impl RefEncode for GCDualSenseAdaptiveTriggerMode
impl RefEncode for GCDualSenseAdaptiveTriggerMode
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 GCDualSenseAdaptiveTriggerMode
impl Eq for GCDualSenseAdaptiveTriggerMode
impl StructuralPartialEq for GCDualSenseAdaptiveTriggerMode
Auto Trait Implementations§
impl Freeze for GCDualSenseAdaptiveTriggerMode
impl RefUnwindSafe for GCDualSenseAdaptiveTriggerMode
impl Send for GCDualSenseAdaptiveTriggerMode
impl Sync for GCDualSenseAdaptiveTriggerMode
impl Unpin for GCDualSenseAdaptiveTriggerMode
impl UnwindSafe for GCDualSenseAdaptiveTriggerMode
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.