#[non_exhaustive]#[repr(u32)]pub enum ESteamDeviceFormFactor {
k_ESteamDeviceFormFactorUnknown = 0,
k_ESteamDeviceFormFactorPhone = 1,
k_ESteamDeviceFormFactorTablet = 2,
k_ESteamDeviceFormFactorComputer = 3,
k_ESteamDeviceFormFactorTV = 4,
k_ESteamDeviceFormFactorVRHeadset = 5,
}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_ESteamDeviceFormFactorUnknown = 0
k_ESteamDeviceFormFactorPhone = 1
k_ESteamDeviceFormFactorTablet = 2
k_ESteamDeviceFormFactorComputer = 3
k_ESteamDeviceFormFactorTV = 4
k_ESteamDeviceFormFactorVRHeadset = 5
Trait Implementations§
Source§impl Clone for ESteamDeviceFormFactor
impl Clone for ESteamDeviceFormFactor
Source§fn clone(&self) -> ESteamDeviceFormFactor
fn clone(&self) -> ESteamDeviceFormFactor
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 ESteamDeviceFormFactor
Source§impl Debug for ESteamDeviceFormFactor
impl Debug for ESteamDeviceFormFactor
impl Eq for ESteamDeviceFormFactor
Source§impl Hash for ESteamDeviceFormFactor
impl Hash for ESteamDeviceFormFactor
Source§impl PartialEq for ESteamDeviceFormFactor
impl PartialEq for ESteamDeviceFormFactor
Source§fn eq(&self, other: &ESteamDeviceFormFactor) -> bool
fn eq(&self, other: &ESteamDeviceFormFactor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ESteamDeviceFormFactor
Auto Trait Implementations§
impl Freeze for ESteamDeviceFormFactor
impl RefUnwindSafe for ESteamDeviceFormFactor
impl Send for ESteamDeviceFormFactor
impl Sync for ESteamDeviceFormFactor
impl Unpin for ESteamDeviceFormFactor
impl UnsafeUnpin for ESteamDeviceFormFactor
impl UnwindSafe for ESteamDeviceFormFactor
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