Struct windows_sys::Gaming::Input::ArcadeStickButtons
[−]#[repr(transparent)]pub struct ArcadeStickButtons(pub u32);
Expand description
Required features: "Gaming_Input"
Tuple Fields
0: u32
Implementations
impl ArcadeStickButtons
impl ArcadeStickButtons
pub const None: Self = Self(0u32)
pub const StickUp: Self = Self(1u32)
pub const StickDown: Self = Self(2u32)
pub const StickLeft: Self = Self(4u32)
pub const StickRight: Self = Self(8u32)
pub const Action1: Self = Self(16u32)
pub const Action2: Self = Self(32u32)
pub const Action3: Self = Self(64u32)
pub const Action4: Self = Self(128u32)
pub const Action5: Self = Self(256u32)
pub const Action6: Self = Self(512u32)
pub const Special1: Self = Self(1024u32)
pub const Special2: Self = Self(2048u32)
Trait Implementations
impl Clone for ArcadeStickButtons
impl Clone for ArcadeStickButtons
impl Copy for ArcadeStickButtons
Auto Trait Implementations
impl RefUnwindSafe for ArcadeStickButtons
impl Send for ArcadeStickButtons
impl Sync for ArcadeStickButtons
impl Unpin for ArcadeStickButtons
impl UnwindSafe for ArcadeStickButtons
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