Enum ChannelType
#[repr(u8)]pub enum ChannelType {
Party = 0,
Squad = 1,
Reserved = 2,
Invalid = 3,
}Expand description
Type of message channel.
Variants§
Trait Implementations§
§impl Clone for ChannelType
impl Clone for ChannelType
§fn clone(&self) -> ChannelType
fn clone(&self) -> ChannelType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for ChannelType
impl Debug for ChannelType
§impl Hash for ChannelType
impl Hash for ChannelType
§impl Ord for ChannelType
impl Ord for ChannelType
§fn cmp(&self, other: &ChannelType) -> Ordering
fn cmp(&self, other: &ChannelType) -> Ordering
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
§impl PartialEq for ChannelType
impl PartialEq for ChannelType
§impl PartialOrd for ChannelType
impl PartialOrd for ChannelType
impl Copy for ChannelType
impl Eq for ChannelType
impl StructuralPartialEq for ChannelType
Auto Trait Implementations§
impl Freeze for ChannelType
impl RefUnwindSafe for ChannelType
impl Send for ChannelType
impl Sync for ChannelType
impl Unpin for ChannelType
impl UnsafeUnpin for ChannelType
impl UnwindSafe for ChannelType
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