#[repr(i32)]pub enum EChatRoomMemberStateChange {
Invalid = 0,
Joined = 1,
Parted = 2,
Kicked = 3,
Invited = 4,
RankChanged = 7,
InviteDismissed = 8,
Muted = 9,
Banned = 10,
RolesChanged = 12,
}Expand description
The EChatRoomMemberStateChange enumeration.
Source: lang/steammsg.steamd.
Variants§
Invalid = 0
Joined = 1
Parted = 2
Kicked = 3
Invited = 4
RankChanged = 7
InviteDismissed = 8
Muted = 9
Banned = 10
RolesChanged = 12
Implementations§
Source§impl EChatRoomMemberStateChange
impl EChatRoomMemberStateChange
Sourcepub const ALL: &'static [EChatRoomMemberStateChange]
pub const ALL: &'static [EChatRoomMemberStateChange]
Every variant of EChatRoomMemberStateChange.
Sourcepub fn from_value(value: i32) -> Option<Self>
pub fn from_value(value: i32) -> Option<Self>
Builds a variant from its numeric value.
When several variants share a value, the first declared one is returned.
Trait Implementations§
Source§impl Clone for EChatRoomMemberStateChange
impl Clone for EChatRoomMemberStateChange
impl Copy for EChatRoomMemberStateChange
Source§impl Debug for EChatRoomMemberStateChange
impl Debug for EChatRoomMemberStateChange
impl Eq for EChatRoomMemberStateChange
Source§impl From<EChatRoomMemberStateChange> for i32
impl From<EChatRoomMemberStateChange> for i32
Source§fn from(value: EChatRoomMemberStateChange) -> i32
fn from(value: EChatRoomMemberStateChange) -> i32
Converts to this type from the input type.
Source§impl Hash for EChatRoomMemberStateChange
impl Hash for EChatRoomMemberStateChange
Source§impl Ord for EChatRoomMemberStateChange
impl Ord for EChatRoomMemberStateChange
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for EChatRoomMemberStateChange
impl PartialOrd for EChatRoomMemberStateChange
impl StructuralPartialEq for EChatRoomMemberStateChange
Source§impl TryFrom<i32> for EChatRoomMemberStateChange
impl TryFrom<i32> for EChatRoomMemberStateChange
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§impl TryFrom<u32> for EChatRoomMemberStateChange
impl TryFrom<u32> for EChatRoomMemberStateChange
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for EChatRoomMemberStateChange
impl RefUnwindSafe for EChatRoomMemberStateChange
impl Send for EChatRoomMemberStateChange
impl Sync for EChatRoomMemberStateChange
impl Unpin for EChatRoomMemberStateChange
impl UnsafeUnpin for EChatRoomMemberStateChange
impl UnwindSafe for EChatRoomMemberStateChange
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.