Enum steamworks_sys::EXboxOrigin
source · #[non_exhaustive]#[repr(u32)]pub enum EXboxOrigin {
Show 29 variants
k_EXboxOrigin_A = 0,
k_EXboxOrigin_B = 1,
k_EXboxOrigin_X = 2,
k_EXboxOrigin_Y = 3,
k_EXboxOrigin_LeftBumper = 4,
k_EXboxOrigin_RightBumper = 5,
k_EXboxOrigin_Menu = 6,
k_EXboxOrigin_View = 7,
k_EXboxOrigin_LeftTrigger_Pull = 8,
k_EXboxOrigin_LeftTrigger_Click = 9,
k_EXboxOrigin_RightTrigger_Pull = 10,
k_EXboxOrigin_RightTrigger_Click = 11,
k_EXboxOrigin_LeftStick_Move = 12,
k_EXboxOrigin_LeftStick_Click = 13,
k_EXboxOrigin_LeftStick_DPadNorth = 14,
k_EXboxOrigin_LeftStick_DPadSouth = 15,
k_EXboxOrigin_LeftStick_DPadWest = 16,
k_EXboxOrigin_LeftStick_DPadEast = 17,
k_EXboxOrigin_RightStick_Move = 18,
k_EXboxOrigin_RightStick_Click = 19,
k_EXboxOrigin_RightStick_DPadNorth = 20,
k_EXboxOrigin_RightStick_DPadSouth = 21,
k_EXboxOrigin_RightStick_DPadWest = 22,
k_EXboxOrigin_RightStick_DPadEast = 23,
k_EXboxOrigin_DPad_North = 24,
k_EXboxOrigin_DPad_South = 25,
k_EXboxOrigin_DPad_West = 26,
k_EXboxOrigin_DPad_East = 27,
k_EXboxOrigin_Count = 28,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
k_EXboxOrigin_A = 0
k_EXboxOrigin_B = 1
k_EXboxOrigin_X = 2
k_EXboxOrigin_Y = 3
k_EXboxOrigin_LeftBumper = 4
k_EXboxOrigin_RightBumper = 5
k_EXboxOrigin_Menu = 6
k_EXboxOrigin_View = 7
k_EXboxOrigin_LeftTrigger_Pull = 8
k_EXboxOrigin_LeftTrigger_Click = 9
k_EXboxOrigin_RightTrigger_Pull = 10
k_EXboxOrigin_RightTrigger_Click = 11
k_EXboxOrigin_LeftStick_Move = 12
k_EXboxOrigin_LeftStick_Click = 13
k_EXboxOrigin_LeftStick_DPadNorth = 14
k_EXboxOrigin_LeftStick_DPadSouth = 15
k_EXboxOrigin_LeftStick_DPadWest = 16
k_EXboxOrigin_LeftStick_DPadEast = 17
k_EXboxOrigin_RightStick_Move = 18
k_EXboxOrigin_RightStick_Click = 19
k_EXboxOrigin_RightStick_DPadNorth = 20
k_EXboxOrigin_RightStick_DPadSouth = 21
k_EXboxOrigin_RightStick_DPadWest = 22
k_EXboxOrigin_RightStick_DPadEast = 23
k_EXboxOrigin_DPad_North = 24
k_EXboxOrigin_DPad_South = 25
k_EXboxOrigin_DPad_West = 26
k_EXboxOrigin_DPad_East = 27
k_EXboxOrigin_Count = 28
Trait Implementations§
source§impl Clone for EXboxOrigin
impl Clone for EXboxOrigin
source§fn clone(&self) -> EXboxOrigin
fn clone(&self) -> EXboxOrigin
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 EXboxOrigin
impl Debug for EXboxOrigin
source§impl Hash for EXboxOrigin
impl Hash for EXboxOrigin
source§impl PartialEq for EXboxOrigin
impl PartialEq for EXboxOrigin
source§fn eq(&self, other: &EXboxOrigin) -> bool
fn eq(&self, other: &EXboxOrigin) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EXboxOrigin
impl Eq for EXboxOrigin
impl StructuralPartialEq for EXboxOrigin
Auto Trait Implementations§
impl RefUnwindSafe for EXboxOrigin
impl Send for EXboxOrigin
impl Sync for EXboxOrigin
impl Unpin for EXboxOrigin
impl UnwindSafe for EXboxOrigin
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