Struct naia_shared::MessageKind
source · pub struct MessageKind { /* private fields */ }
Expand description
MessageKind - should be one unique value for each type of Message
Implementations§
Trait Implementations§
source§impl Clone for MessageKind
impl Clone for MessageKind
source§fn clone(&self) -> MessageKind
fn clone(&self) -> MessageKind
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 ConstBitLength for MessageKind
impl ConstBitLength for MessageKind
fn const_bit_length() -> u32
source§impl Debug for MessageKind
impl Debug for MessageKind
source§impl Hash for MessageKind
impl Hash for MessageKind
source§impl PartialEq for MessageKind
impl PartialEq for MessageKind
source§fn eq(&self, other: &MessageKind) -> bool
fn eq(&self, other: &MessageKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MessageKind
impl Eq for MessageKind
impl StructuralEq for MessageKind
impl StructuralPartialEq for MessageKind
Auto Trait Implementations§
impl RefUnwindSafe for MessageKind
impl Send for MessageKind
impl Sync for MessageKind
impl Unpin for MessageKind
impl UnwindSafe for MessageKind
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