Struct windows::Gaming::Input::Custom::XusbDeviceSubtype
#[repr(transparent)]pub struct XusbDeviceSubtype(pub i32);
Tuple Fields§
§0: i32
Implementations§
§impl XusbDeviceSubtype
impl XusbDeviceSubtype
pub const Unknown: Self = _
pub const Gamepad: Self = _
pub const ArcadePad: Self = _
pub const ArcadeStick: Self = _
pub const FlightStick: Self = _
pub const Wheel: Self = _
pub const Guitar: Self = _
pub const GuitarAlternate: Self = _
pub const GuitarBass: Self = _
pub const DrumKit: Self = _
pub const DancePad: Self = _
Trait Implementations§
§impl Clone for XusbDeviceSubtype
impl Clone for XusbDeviceSubtype
§fn clone(&self) -> XusbDeviceSubtype
fn clone(&self) -> XusbDeviceSubtype
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 more§impl Debug for XusbDeviceSubtype
impl Debug for XusbDeviceSubtype
§impl Default for XusbDeviceSubtype
impl Default for XusbDeviceSubtype
§fn default() -> XusbDeviceSubtype
fn default() -> XusbDeviceSubtype
Returns the “default value” for a type. Read more
§impl PartialEq for XusbDeviceSubtype
impl PartialEq for XusbDeviceSubtype
§fn eq(&self, other: &XusbDeviceSubtype) -> bool
fn eq(&self, other: &XusbDeviceSubtype) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for XusbDeviceSubtype
impl Eq for XusbDeviceSubtype
impl StructuralPartialEq for XusbDeviceSubtype
Auto Trait Implementations§
impl Freeze for XusbDeviceSubtype
impl RefUnwindSafe for XusbDeviceSubtype
impl Send for XusbDeviceSubtype
impl Sync for XusbDeviceSubtype
impl Unpin for XusbDeviceSubtype
impl UnwindSafe for XusbDeviceSubtype
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)