Enum steamworks_sys::EUserRestriction
source · #[non_exhaustive]#[repr(i32)]pub enum EUserRestriction {
k_nUserRestrictionNone = 0,
k_nUserRestrictionUnknown = 1,
k_nUserRestrictionAnyChat = 2,
k_nUserRestrictionVoiceChat = 4,
k_nUserRestrictionGroupChat = 8,
k_nUserRestrictionRating = 16,
k_nUserRestrictionGameInvites = 32,
k_nUserRestrictionTrading = 64,
}
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_nUserRestrictionNone = 0
k_nUserRestrictionUnknown = 1
k_nUserRestrictionAnyChat = 2
k_nUserRestrictionVoiceChat = 4
k_nUserRestrictionGroupChat = 8
k_nUserRestrictionRating = 16
k_nUserRestrictionGameInvites = 32
k_nUserRestrictionTrading = 64
Trait Implementations§
source§impl Clone for EUserRestriction
impl Clone for EUserRestriction
source§fn clone(&self) -> EUserRestriction
fn clone(&self) -> EUserRestriction
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 EUserRestriction
impl Debug for EUserRestriction
source§impl Hash for EUserRestriction
impl Hash for EUserRestriction
source§impl PartialEq for EUserRestriction
impl PartialEq for EUserRestriction
source§fn eq(&self, other: &EUserRestriction) -> bool
fn eq(&self, other: &EUserRestriction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EUserRestriction
impl Eq for EUserRestriction
impl StructuralPartialEq for EUserRestriction
Auto Trait Implementations§
impl RefUnwindSafe for EUserRestriction
impl Send for EUserRestriction
impl Sync for EUserRestriction
impl Unpin for EUserRestriction
impl UnwindSafe for EUserRestriction
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