pub enum AnyChatMessage {
BinaryChatMessage(Arc<BinaryChatMessage>),
BroadCastChatMessage(Arc<BroadCastChatMessage>),
TeamCastChatMessage(Arc<TeamCastChatMessage>),
UniCastChatMessage(Arc<UnicastChatMessage>),
}
Variants
BinaryChatMessage(Arc<BinaryChatMessage>)
BroadCastChatMessage(Arc<BroadCastChatMessage>)
TeamCastChatMessage(Arc<TeamCastChatMessage>)
UniCastChatMessage(Arc<UnicastChatMessage>)
Trait Implementations
sourceimpl Clone for AnyChatMessage
impl Clone for AnyChatMessage
sourcefn clone(&self) -> AnyChatMessage
fn clone(&self) -> AnyChatMessage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Deref for AnyChatMessage
impl Deref for AnyChatMessage
type Target = dyn ChatMessage + 'static
type Target = dyn ChatMessage + 'static
The resulting type after dereferencing.
Auto Trait Implementations
impl !RefUnwindSafe for AnyChatMessage
impl Send for AnyChatMessage
impl Sync for AnyChatMessage
impl Unpin for AnyChatMessage
impl !UnwindSafe for AnyChatMessage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more