pub struct MessageTag(/* private fields */);Implementations§
Source§impl MessageTag
impl MessageTag
pub const fn tag(tag: u64) -> MessageTag
Sourcepub const fn tag1(tag: u32, param: u32) -> MessageTag
pub const fn tag1(tag: u32, param: u32) -> MessageTag
Define a family of tags indexed by some parameter.
Trait Implementations§
Source§impl Clone for MessageTag
impl Clone for MessageTag
Source§fn clone(&self) -> MessageTag
fn clone(&self) -> MessageTag
Returns a duplicate 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 Debug for MessageTag
impl Debug for MessageTag
Source§impl PartialEq for MessageTag
impl PartialEq for MessageTag
impl Copy for MessageTag
impl StructuralPartialEq for MessageTag
Auto Trait Implementations§
impl Freeze for MessageTag
impl RefUnwindSafe for MessageTag
impl Send for MessageTag
impl Sync for MessageTag
impl Unpin for MessageTag
impl UnwindSafe for MessageTag
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