#[non_exhaustive]#[repr(u16)]pub enum MessageIndex {
Selected = 32_768,
Reserved = 28_672,
Mask = 4_095,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Source§impl MessageIndex
impl MessageIndex
Trait Implementations§
Source§impl Clone for MessageIndex
impl Clone for MessageIndex
Source§fn clone(&self) -> MessageIndex
fn clone(&self) -> MessageIndex
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 moreSource§impl Debug for MessageIndex
impl Debug for MessageIndex
Source§impl Hash for MessageIndex
impl Hash for MessageIndex
Source§impl PartialEq for MessageIndex
impl PartialEq for MessageIndex
Source§fn eq(&self, other: &MessageIndex) -> bool
fn eq(&self, other: &MessageIndex) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MessageIndex
impl Eq for MessageIndex
impl StructuralPartialEq for MessageIndex
Auto Trait Implementations§
impl Freeze for MessageIndex
impl RefUnwindSafe for MessageIndex
impl Send for MessageIndex
impl Sync for MessageIndex
impl Unpin for MessageIndex
impl UnsafeUnpin for MessageIndex
impl UnwindSafe for MessageIndex
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