Struct windows_sys::Gaming::Input::Custom::XusbDeviceSubtype
[−]#[repr(transparent)]pub struct XusbDeviceSubtype(pub i32);
Expand description
Required features: "Gaming_Input_Custom"
Tuple Fields
0: i32
Implementations
impl XusbDeviceSubtype
impl XusbDeviceSubtype
pub const Unknown: Self = Self(0i32)
pub const Gamepad: Self = Self(1i32)
pub const ArcadePad: Self = Self(2i32)
pub const ArcadeStick: Self = Self(3i32)
pub const FlightStick: Self = Self(4i32)
pub const Wheel: Self = Self(5i32)
pub const Guitar: Self = Self(6i32)
pub const GuitarAlternate: Self = Self(7i32)
pub const GuitarBass: Self = Self(8i32)
pub const DrumKit: Self = Self(9i32)
pub const DancePad: Self = Self(10i32)
Trait Implementations
impl Clone for XusbDeviceSubtype
impl Clone for XusbDeviceSubtype
impl Copy for XusbDeviceSubtype
Auto Trait Implementations
impl RefUnwindSafe for XusbDeviceSubtype
impl Send for XusbDeviceSubtype
impl Sync for XusbDeviceSubtype
impl Unpin for XusbDeviceSubtype
impl UnwindSafe for XusbDeviceSubtype
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more