Struct windows::Gaming::Input::GameControllerButtonLabel
#[repr(transparent)]pub struct GameControllerButtonLabel(pub i32);
Tuple Fields§
§0: i32
Implementations§
§impl GameControllerButtonLabel
impl GameControllerButtonLabel
pub const None: Self = _
pub const XboxBack: Self = _
pub const XboxStart: Self = _
pub const XboxMenu: Self = _
pub const XboxView: Self = _
pub const XboxUp: Self = _
pub const XboxDown: Self = _
pub const XboxLeft: Self = _
pub const XboxRight: Self = _
pub const XboxA: Self = _
pub const XboxB: Self = _
pub const XboxX: Self = _
pub const XboxY: Self = _
pub const XboxLeftBumper: Self = _
pub const XboxLeftTrigger: Self = _
pub const XboxLeftStickButton: Self = _
pub const XboxRightBumper: Self = _
pub const XboxRightTrigger: Self = _
pub const XboxRightStickButton: Self = _
pub const XboxPaddle1: Self = _
pub const XboxPaddle2: Self = _
pub const XboxPaddle3: Self = _
pub const XboxPaddle4: Self = _
pub const Mode: Self = _
pub const Select: Self = _
pub const Menu: Self = _
pub const View: Self = _
pub const Back: Self = _
pub const Start: Self = _
pub const Options: Self = _
pub const Up: Self = _
pub const Down: Self = _
pub const Left: Self = _
pub const Right: Self = _
pub const LetterA: Self = _
pub const LetterB: Self = _
pub const LetterC: Self = _
pub const LetterL: Self = _
pub const LetterR: Self = _
pub const LetterX: Self = _
pub const LetterY: Self = _
pub const LetterZ: Self = _
pub const Cross: Self = _
pub const Circle: Self = _
pub const Square: Self = _
pub const Triangle: Self = _
pub const LeftBumper: Self = _
pub const LeftTrigger: Self = _
pub const LeftStickButton: Self = _
pub const Left1: Self = _
pub const Left2: Self = _
pub const Left3: Self = _
pub const RightBumper: Self = _
pub const RightTrigger: Self = _
pub const RightStickButton: Self = _
pub const Right1: Self = _
pub const Right2: Self = _
pub const Right3: Self = _
pub const Paddle1: Self = _
pub const Paddle2: Self = _
pub const Paddle3: Self = _
pub const Paddle4: Self = _
pub const Plus: Self = _
pub const Minus: Self = _
pub const DownLeftArrow: Self = _
pub const DialLeft: Self = _
pub const DialRight: Self = _
pub const Suspension: Self = _
Trait Implementations§
§impl Clone for GameControllerButtonLabel
impl Clone for GameControllerButtonLabel
§fn clone(&self) -> GameControllerButtonLabel
fn clone(&self) -> GameControllerButtonLabel
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 GameControllerButtonLabel
impl Debug for GameControllerButtonLabel
§impl Default for GameControllerButtonLabel
impl Default for GameControllerButtonLabel
§fn default() -> GameControllerButtonLabel
fn default() -> GameControllerButtonLabel
Returns the “default value” for a type. Read more
§impl PartialEq for GameControllerButtonLabel
impl PartialEq for GameControllerButtonLabel
§fn eq(&self, other: &GameControllerButtonLabel) -> bool
fn eq(&self, other: &GameControllerButtonLabel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GameControllerButtonLabel
impl Eq for GameControllerButtonLabel
impl StructuralPartialEq for GameControllerButtonLabel
Auto Trait Implementations§
impl Freeze for GameControllerButtonLabel
impl RefUnwindSafe for GameControllerButtonLabel
impl Send for GameControllerButtonLabel
impl Sync for GameControllerButtonLabel
impl Unpin for GameControllerButtonLabel
impl UnwindSafe for GameControllerButtonLabel
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
)