#[non_exhaustive]#[repr(u32)]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 duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ESteamInputType
Source§impl Debug for ESteamInputType
impl Debug for ESteamInputType
impl Eq 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
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ESteamInputType
Auto Trait Implementations§
impl Freeze for ESteamInputType
impl RefUnwindSafe for ESteamInputType
impl Send for ESteamInputType
impl Sync for ESteamInputType
impl Unpin for ESteamInputType
impl UnsafeUnpin 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