#[repr(C)]pub enum TextMessageTargetMode {
Client = 1,
Channel = 2,
Server = 3,
Max = 4,
}Variants§
Client = 1
Message is a private message to another client
Channel = 2
Message is sent to a channel, received by all clients in that channel at the time
Server = 3
Message is sent to every client on the server
Max = 4
Trait Implementations§
Source§impl Clone for TextMessageTargetMode
impl Clone for TextMessageTargetMode
Source§fn clone(&self) -> TextMessageTargetMode
fn clone(&self) -> TextMessageTargetMode
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 moreimpl Copy for TextMessageTargetMode
Source§impl Debug for TextMessageTargetMode
impl Debug for TextMessageTargetMode
impl Eq for TextMessageTargetMode
Source§impl PartialEq for TextMessageTargetMode
impl PartialEq for TextMessageTargetMode
Source§fn eq(&self, other: &TextMessageTargetMode) -> bool
fn eq(&self, other: &TextMessageTargetMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TextMessageTargetMode
Auto Trait Implementations§
impl Freeze for TextMessageTargetMode
impl RefUnwindSafe for TextMessageTargetMode
impl Send for TextMessageTargetMode
impl Sync for TextMessageTargetMode
impl Unpin for TextMessageTargetMode
impl UnsafeUnpin for TextMessageTargetMode
impl UnwindSafe for TextMessageTargetMode
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