Enum steamworks_sys::EInputSourceMode
source · #[non_exhaustive]#[repr(i32)]pub enum EInputSourceMode {
Show 17 variants
k_EInputSourceMode_None = 0,
k_EInputSourceMode_Dpad = 1,
k_EInputSourceMode_Buttons = 2,
k_EInputSourceMode_FourButtons = 3,
k_EInputSourceMode_AbsoluteMouse = 4,
k_EInputSourceMode_RelativeMouse = 5,
k_EInputSourceMode_JoystickMove = 6,
k_EInputSourceMode_JoystickMouse = 7,
k_EInputSourceMode_JoystickCamera = 8,
k_EInputSourceMode_ScrollWheel = 9,
k_EInputSourceMode_Trigger = 10,
k_EInputSourceMode_TouchMenu = 11,
k_EInputSourceMode_MouseJoystick = 12,
k_EInputSourceMode_MouseRegion = 13,
k_EInputSourceMode_RadialMenu = 14,
k_EInputSourceMode_SingleButton = 15,
k_EInputSourceMode_Switches = 16,
}
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_EInputSourceMode_None = 0
k_EInputSourceMode_Dpad = 1
k_EInputSourceMode_Buttons = 2
k_EInputSourceMode_FourButtons = 3
k_EInputSourceMode_AbsoluteMouse = 4
k_EInputSourceMode_RelativeMouse = 5
k_EInputSourceMode_JoystickMove = 6
k_EInputSourceMode_JoystickMouse = 7
k_EInputSourceMode_JoystickCamera = 8
k_EInputSourceMode_ScrollWheel = 9
k_EInputSourceMode_Trigger = 10
k_EInputSourceMode_TouchMenu = 11
k_EInputSourceMode_MouseJoystick = 12
k_EInputSourceMode_MouseRegion = 13
k_EInputSourceMode_RadialMenu = 14
k_EInputSourceMode_SingleButton = 15
k_EInputSourceMode_Switches = 16
Trait Implementations§
source§impl Clone for EInputSourceMode
impl Clone for EInputSourceMode
source§fn clone(&self) -> EInputSourceMode
fn clone(&self) -> EInputSourceMode
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 EInputSourceMode
impl Debug for EInputSourceMode
source§impl Hash for EInputSourceMode
impl Hash for EInputSourceMode
source§impl PartialEq for EInputSourceMode
impl PartialEq for EInputSourceMode
source§fn eq(&self, other: &EInputSourceMode) -> bool
fn eq(&self, other: &EInputSourceMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EInputSourceMode
impl Eq for EInputSourceMode
impl StructuralPartialEq for EInputSourceMode
Auto Trait Implementations§
impl RefUnwindSafe for EInputSourceMode
impl Send for EInputSourceMode
impl Sync for EInputSourceMode
impl Unpin for EInputSourceMode
impl UnwindSafe for EInputSourceMode
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