Enum steamworks_sys::EFriendFlags
source · #[non_exhaustive]#[repr(i32)]pub enum EFriendFlags {
k_EFriendFlagNone = 0,
k_EFriendFlagBlocked = 1,
k_EFriendFlagFriendshipRequested = 2,
k_EFriendFlagImmediate = 4,
k_EFriendFlagClanMember = 8,
k_EFriendFlagOnGameServer = 16,
k_EFriendFlagRequestingFriendship = 128,
k_EFriendFlagRequestingInfo = 256,
k_EFriendFlagIgnored = 512,
k_EFriendFlagIgnoredFriend = 1_024,
k_EFriendFlagChatMember = 4_096,
k_EFriendFlagAll = 65_535,
}
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_EFriendFlagNone = 0
k_EFriendFlagBlocked = 1
k_EFriendFlagFriendshipRequested = 2
k_EFriendFlagImmediate = 4
k_EFriendFlagClanMember = 8
k_EFriendFlagOnGameServer = 16
k_EFriendFlagRequestingFriendship = 128
k_EFriendFlagRequestingInfo = 256
k_EFriendFlagIgnored = 512
k_EFriendFlagIgnoredFriend = 1_024
k_EFriendFlagChatMember = 4_096
k_EFriendFlagAll = 65_535
Trait Implementations§
source§impl Clone for EFriendFlags
impl Clone for EFriendFlags
source§fn clone(&self) -> EFriendFlags
fn clone(&self) -> EFriendFlags
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 EFriendFlags
impl Debug for EFriendFlags
source§impl Hash for EFriendFlags
impl Hash for EFriendFlags
source§impl PartialEq for EFriendFlags
impl PartialEq for EFriendFlags
source§fn eq(&self, other: &EFriendFlags) -> bool
fn eq(&self, other: &EFriendFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EFriendFlags
impl Eq for EFriendFlags
impl StructuralPartialEq for EFriendFlags
Auto Trait Implementations§
impl RefUnwindSafe for EFriendFlags
impl Send for EFriendFlags
impl Sync for EFriendFlags
impl Unpin for EFriendFlags
impl UnwindSafe for EFriendFlags
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