Struct MessageType
#[repr(transparent)]pub struct MessageType(pub i8);Expand description
Message type of a route (wms_message_type_enum_v01).
Tuple Fields§
§0: i8Implementations§
§impl MessageType
impl MessageType
pub const POINT_TO_POINT: Self
pub const POINT_TO_POINT: Self
Value 0.
Trait Implementations§
§impl Clone for MessageType
impl Clone for MessageType
§fn clone(&self) -> MessageType
fn clone(&self) -> MessageType
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 moreimpl Copy for MessageType
§impl Debug for MessageType
impl Debug for MessageType
§impl Decode for MessageType
impl Decode for MessageType
§impl Encode for MessageType
impl Encode for MessageType
impl Eq for MessageType
§impl From<MessageType> for i8
impl From<MessageType> for i8
§fn from(value: MessageType) -> Self
fn from(value: MessageType) -> Self
Converts to this type from the input type.
§impl Hash for MessageType
impl Hash for MessageType
§impl PartialEq for MessageType
impl PartialEq for MessageType
impl StructuralPartialEq for MessageType
Auto Trait Implementations§
impl Freeze for MessageType
impl RefUnwindSafe for MessageType
impl Send for MessageType
impl Sync for MessageType
impl Unpin for MessageType
impl UnsafeUnpin for MessageType
impl UnwindSafe for MessageType
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