Enum ross_protocol::event::message::MessageValue
source · [−]Variants
U8(u8)
U16(u16)
U32(u32)
Bool(bool)
Trait Implementations
sourceimpl Clone for MessageValue
impl Clone for MessageValue
sourcefn clone(&self) -> MessageValue
fn clone(&self) -> MessageValue
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for MessageValue
impl Debug for MessageValue
sourceimpl Ord for MessageValue
impl Ord for MessageValue
sourcefn cmp(&self, other: &MessageValue) -> Ordering
fn cmp(&self, other: &MessageValue) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Self
const fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Self
const fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<MessageValue> for MessageValue
impl PartialEq<MessageValue> for MessageValue
sourcefn eq(&self, other: &MessageValue) -> bool
fn eq(&self, other: &MessageValue) -> bool
sourceimpl PartialOrd<MessageValue> for MessageValue
impl PartialOrd<MessageValue> for MessageValue
sourcefn partial_cmp(&self, other: &MessageValue) -> Option<Ordering>
fn partial_cmp(&self, other: &MessageValue) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for MessageValue
impl Eq for MessageValue
impl StructuralEq for MessageValue
impl StructuralPartialEq for MessageValue
Auto Trait Implementations
impl RefUnwindSafe for MessageValue
impl Send for MessageValue
impl Sync for MessageValue
impl Unpin for MessageValue
impl UnwindSafe for MessageValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more