Enum steamworks_sys::EPersonaChange
source · #[non_exhaustive]#[repr(u32)]pub enum EPersonaChange {
Show 15 variants
k_EPersonaChangeName = 1,
k_EPersonaChangeStatus = 2,
k_EPersonaChangeComeOnline = 4,
k_EPersonaChangeGoneOffline = 8,
k_EPersonaChangeGamePlayed = 16,
k_EPersonaChangeGameServer = 32,
k_EPersonaChangeAvatar = 64,
k_EPersonaChangeJoinedSource = 128,
k_EPersonaChangeLeftSource = 256,
k_EPersonaChangeRelationshipChanged = 512,
k_EPersonaChangeNameFirstSet = 1_024,
k_EPersonaChangeBroadcast = 2_048,
k_EPersonaChangeNickname = 4_096,
k_EPersonaChangeSteamLevel = 8_192,
k_EPersonaChangeRichPresence = 16_384,
}
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_EPersonaChangeName = 1
k_EPersonaChangeStatus = 2
k_EPersonaChangeComeOnline = 4
k_EPersonaChangeGoneOffline = 8
k_EPersonaChangeGamePlayed = 16
k_EPersonaChangeGameServer = 32
k_EPersonaChangeAvatar = 64
k_EPersonaChangeJoinedSource = 128
k_EPersonaChangeLeftSource = 256
k_EPersonaChangeRelationshipChanged = 512
k_EPersonaChangeNameFirstSet = 1_024
k_EPersonaChangeBroadcast = 2_048
k_EPersonaChangeNickname = 4_096
k_EPersonaChangeSteamLevel = 8_192
k_EPersonaChangeRichPresence = 16_384
Trait Implementations§
source§impl Clone for EPersonaChange
impl Clone for EPersonaChange
source§fn clone(&self) -> EPersonaChange
fn clone(&self) -> EPersonaChange
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 EPersonaChange
impl Debug for EPersonaChange
source§impl Hash for EPersonaChange
impl Hash for EPersonaChange
source§impl PartialEq for EPersonaChange
impl PartialEq for EPersonaChange
source§fn eq(&self, other: &EPersonaChange) -> bool
fn eq(&self, other: &EPersonaChange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EPersonaChange
impl Eq for EPersonaChange
impl StructuralPartialEq for EPersonaChange
Auto Trait Implementations§
impl RefUnwindSafe for EPersonaChange
impl Send for EPersonaChange
impl Sync for EPersonaChange
impl Unpin for EPersonaChange
impl UnwindSafe for EPersonaChange
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