Enum steamworks_sys::EPersonaState
source · #[non_exhaustive]#[repr(i32)]pub enum EPersonaState {
k_EPersonaStateOffline = 0,
k_EPersonaStateOnline = 1,
k_EPersonaStateBusy = 2,
k_EPersonaStateAway = 3,
k_EPersonaStateSnooze = 4,
k_EPersonaStateLookingToTrade = 5,
k_EPersonaStateLookingToPlay = 6,
k_EPersonaStateInvisible = 7,
k_EPersonaStateMax = 8,
}
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_EPersonaStateOffline = 0
k_EPersonaStateOnline = 1
k_EPersonaStateBusy = 2
k_EPersonaStateAway = 3
k_EPersonaStateSnooze = 4
k_EPersonaStateLookingToTrade = 5
k_EPersonaStateLookingToPlay = 6
k_EPersonaStateInvisible = 7
k_EPersonaStateMax = 8
Trait Implementations§
source§impl Clone for EPersonaState
impl Clone for EPersonaState
source§fn clone(&self) -> EPersonaState
fn clone(&self) -> EPersonaState
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 EPersonaState
impl Debug for EPersonaState
source§impl Hash for EPersonaState
impl Hash for EPersonaState
source§impl PartialEq for EPersonaState
impl PartialEq for EPersonaState
source§fn eq(&self, other: &EPersonaState) -> bool
fn eq(&self, other: &EPersonaState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EPersonaState
impl Eq for EPersonaState
impl StructuralPartialEq for EPersonaState
Auto Trait Implementations§
impl RefUnwindSafe for EPersonaState
impl Send for EPersonaState
impl Sync for EPersonaState
impl Unpin for EPersonaState
impl UnwindSafe for EPersonaState
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