#[non_exhaustive]#[repr(u32)]pub enum ESteamDeviceFormFactor {
k_ESteamDeviceFormFactorUnknown = 0,
k_ESteamDeviceFormFactorPhone = 1,
k_ESteamDeviceFormFactorTablet = 2,
k_ESteamDeviceFormFactorComputer = 3,
k_ESteamDeviceFormFactorTV = 4,
}
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
Trait Implementations§
source§impl Clone for ESteamDeviceFormFactor
impl Clone for ESteamDeviceFormFactor
source§fn clone(&self) -> ESteamDeviceFormFactor
fn clone(&self) -> ESteamDeviceFormFactor
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 ESteamDeviceFormFactor
impl Debug 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
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ESteamDeviceFormFactor
impl Eq for ESteamDeviceFormFactor
impl StructuralPartialEq for ESteamDeviceFormFactor
Auto Trait Implementations§
impl RefUnwindSafe for ESteamDeviceFormFactor
impl Send for ESteamDeviceFormFactor
impl Sync for ESteamDeviceFormFactor
impl Unpin 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