#[repr(u32)]pub enum GamepadButtonOffset {
Show 16 variants
DpadUp = 266,
DpadDown = 267,
DpadLeft = 268,
DpadRight = 269,
Start = 270,
Back = 271,
LeftThumb = 272,
RightThumb = 273,
LeftShoulder = 274,
RightShoulder = 275,
A = 276,
B = 277,
X = 278,
Y = 279,
Lt = 280,
Rt = 281,
}
Variants§
DpadUp = 266
DpadDown = 267
DpadLeft = 268
DpadRight = 269
Start = 270
Back = 271
LeftThumb = 272
RightThumb = 273
LeftShoulder = 274
RightShoulder = 275
A = 276
B = 277
X = 278
Y = 279
Lt = 280
Rt = 281
Implementations§
Trait Implementations§
Source§impl Clone for GamepadButtonOffset
impl Clone for GamepadButtonOffset
Source§fn clone(&self) -> GamepadButtonOffset
fn clone(&self) -> GamepadButtonOffset
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 moreSource§impl Debug for GamepadButtonOffset
impl Debug for GamepadButtonOffset
Source§impl PartialEq for GamepadButtonOffset
impl PartialEq for GamepadButtonOffset
impl Copy for GamepadButtonOffset
impl Eq for GamepadButtonOffset
impl StructuralPartialEq for GamepadButtonOffset
Auto Trait Implementations§
impl Freeze for GamepadButtonOffset
impl RefUnwindSafe for GamepadButtonOffset
impl Send for GamepadButtonOffset
impl Sync for GamepadButtonOffset
impl Unpin for GamepadButtonOffset
impl UnwindSafe for GamepadButtonOffset
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