pub struct KeystrokeFlags(/* private fields */);Expand description
[microsoft.com] XINPUT_KEYSTROKE_*
Implementations§
Source§impl KeystrokeFlags
impl KeystrokeFlags
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.
Trait Implementations§
Source§impl BitOr for KeystrokeFlags
impl BitOr for KeystrokeFlags
Source§impl BitOrAssign for KeystrokeFlags
impl BitOrAssign for KeystrokeFlags
Source§fn bitor_assign(&mut self, other: Self)
fn bitor_assign(&mut self, other: Self)
Performs the
|= operation. Read moreSource§impl Clone for KeystrokeFlags
impl Clone for KeystrokeFlags
Source§fn clone(&self) -> KeystrokeFlags
fn clone(&self) -> KeystrokeFlags
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 Debug for KeystrokeFlags
impl Debug for KeystrokeFlags
Source§impl Default for KeystrokeFlags
impl Default for KeystrokeFlags
Source§impl From<KeystrokeFlags> for u16
impl From<KeystrokeFlags> for u16
Source§impl Hash for KeystrokeFlags
impl Hash for KeystrokeFlags
Source§impl Ord for KeystrokeFlags
impl Ord for KeystrokeFlags
Source§fn cmp(&self, other: &KeystrokeFlags) -> Ordering
fn cmp(&self, other: &KeystrokeFlags) -> 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 KeystrokeFlags
impl PartialEq for KeystrokeFlags
Source§impl PartialOrd for KeystrokeFlags
impl PartialOrd for KeystrokeFlags
impl Copy for KeystrokeFlags
impl Eq for KeystrokeFlags
impl Pod for KeystrokeFlags
impl StructuralPartialEq for KeystrokeFlags
Auto Trait Implementations§
impl Freeze for KeystrokeFlags
impl RefUnwindSafe for KeystrokeFlags
impl Send for KeystrokeFlags
impl Sync for KeystrokeFlags
impl Unpin for KeystrokeFlags
impl UnwindSafe for KeystrokeFlags
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.