Struct MessageTag
pub struct MessageTag(/* private fields */);
Implementations§
§impl MessageTag
impl MessageTag
pub const fn tag(tag: u64) -> MessageTag
pub 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.
pub const fn tag2(tag: u32, param1: u16, param2: u16) -> MessageTag
pub const fn tag2(tag: u32, param1: u16, param2: u16) -> MessageTag
Define a familty of tags indexed by pair of parameters.
Trait Implementations§
§impl Clone for MessageTag
impl Clone for MessageTag
§fn clone(&self) -> MessageTag
fn clone(&self) -> MessageTag
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 more§impl Debug for MessageTag
impl Debug for MessageTag
§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