Enum steamworks_sys::ESteamInputType
source · #[non_exhaustive]#[repr(i32)]pub enum ESteamInputType {
Show 17 variants
k_ESteamInputType_Unknown = 0,
k_ESteamInputType_SteamController = 1,
k_ESteamInputType_XBox360Controller = 2,
k_ESteamInputType_XBoxOneController = 3,
k_ESteamInputType_GenericGamepad = 4,
k_ESteamInputType_PS4Controller = 5,
k_ESteamInputType_AppleMFiController = 6,
k_ESteamInputType_AndroidController = 7,
k_ESteamInputType_SwitchJoyConPair = 8,
k_ESteamInputType_SwitchJoyConSingle = 9,
k_ESteamInputType_SwitchProController = 10,
k_ESteamInputType_MobileTouch = 11,
k_ESteamInputType_PS3Controller = 12,
k_ESteamInputType_PS5Controller = 13,
k_ESteamInputType_SteamDeckController = 14,
k_ESteamInputType_Count = 15,
k_ESteamInputType_MaximumPossibleValue = 255,
}
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_ESteamInputType_Unknown = 0
k_ESteamInputType_SteamController = 1
k_ESteamInputType_XBox360Controller = 2
k_ESteamInputType_XBoxOneController = 3
k_ESteamInputType_GenericGamepad = 4
k_ESteamInputType_PS4Controller = 5
k_ESteamInputType_AppleMFiController = 6
k_ESteamInputType_AndroidController = 7
k_ESteamInputType_SwitchJoyConPair = 8
k_ESteamInputType_SwitchJoyConSingle = 9
k_ESteamInputType_SwitchProController = 10
k_ESteamInputType_MobileTouch = 11
k_ESteamInputType_PS3Controller = 12
k_ESteamInputType_PS5Controller = 13
k_ESteamInputType_SteamDeckController = 14
k_ESteamInputType_Count = 15
k_ESteamInputType_MaximumPossibleValue = 255
Trait Implementations§
source§impl Clone for ESteamInputType
impl Clone for ESteamInputType
source§fn clone(&self) -> ESteamInputType
fn clone(&self) -> ESteamInputType
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 ESteamInputType
impl Debug for ESteamInputType
source§impl Hash for ESteamInputType
impl Hash for ESteamInputType
source§impl PartialEq for ESteamInputType
impl PartialEq for ESteamInputType
source§fn eq(&self, other: &ESteamInputType) -> bool
fn eq(&self, other: &ESteamInputType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ESteamInputType
impl Eq for ESteamInputType
impl StructuralPartialEq for ESteamInputType
Auto Trait Implementations§
impl RefUnwindSafe for ESteamInputType
impl Send for ESteamInputType
impl Sync for ESteamInputType
impl Unpin for ESteamInputType
impl UnwindSafe for ESteamInputType
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