#[repr(C)]pub enum MessageValue {
U8(u8),
U16(u16),
U32(u32),
Bool(bool),
}Variants§
Trait Implementations§
Source§impl Clone for MessageValue
impl Clone for MessageValue
Source§fn clone(&self) -> MessageValue
fn clone(&self) -> MessageValue
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 MessageValue
impl Debug for MessageValue
Source§impl Ord for MessageValue
impl Ord for MessageValue
Source§fn cmp(&self, other: &MessageValue) -> Ordering
fn cmp(&self, other: &MessageValue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MessageValue
impl PartialEq for MessageValue
Source§impl PartialOrd for MessageValue
impl PartialOrd for MessageValue
impl Copy for MessageValue
impl Eq for MessageValue
impl StructuralPartialEq for MessageValue
Auto Trait Implementations§
impl Freeze for MessageValue
impl RefUnwindSafe for MessageValue
impl Send for MessageValue
impl Sync for MessageValue
impl Unpin for MessageValue
impl UnwindSafe for MessageValue
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