pub struct Caps(/* private fields */);Expand description
[microsoft.com] XINPUT_CAPS_*
Bitmask of the device digital caps of an Xbox 360 style gamepad.
§See Also
- Xbox 360 controller: Layout (Wikipedia)
Implementations§
Source§impl Caps
impl Caps
Sourcepub const fn from_unchecked(d3d: u16) -> Self
pub const fn from_unchecked(d3d: u16) -> Self
Convert from an underlying winapi type.
This is probably safe… probably…
Sourcepub const fn into_inner(self) -> u16
pub const fn into_inner(self) -> u16
Convert back into an underlying winapi type.
Source§impl Caps
impl Caps
Sourcepub const VoiceSupported: Caps
pub const VoiceSupported: Caps
Device has an integrated voice device.
Sourcepub const FfbSupported: Caps
pub const FfbSupported: Caps
Force Feedback is supported.
Sourcepub const PmdSupported: Caps
pub const PmdSupported: Caps
Plug-in Modules are supported.
NOTE: Plug-in modules like the text input device (TID) may not be supported on Windows.
Device lacks menu navigation buttons (START, BACK, DPAD).
Trait Implementations§
Source§impl BitOrAssign for Caps
impl BitOrAssign for Caps
Source§fn bitor_assign(&mut self, other: Self)
fn bitor_assign(&mut self, other: Self)
Performs the
|= operation. Read moreSource§impl Ord for Caps
impl Ord for Caps
Source§impl PartialOrd for Caps
impl PartialOrd for Caps
impl Copy for Caps
impl Eq for Caps
impl Pod for Caps
impl StructuralPartialEq for Caps
Auto Trait Implementations§
impl Freeze for Caps
impl RefUnwindSafe for Caps
impl Send for Caps
impl Sync for Caps
impl Unpin for Caps
impl UnwindSafe for Caps
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> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.