Enum abbegm::msg::egm_header::MessageType
source · [−]#[repr(i32)]
pub enum MessageType {
MsgtypeUndefined,
MsgtypeCommand,
MsgtypeData,
MsgtypeCorrection,
MsgtypePathCorrection,
}
Variants
MsgtypeUndefined
MsgtypeCommand
for future use
MsgtypeData
sent by robot controller
MsgtypeCorrection
sent by sensor for position guidance
MsgtypePathCorrection
sent by sensor for path correction
Implementations
Trait Implementations
sourceimpl Clone for MessageType
impl Clone for MessageType
sourcefn clone(&self) -> MessageType
fn clone(&self) -> MessageType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MessageType
impl Debug for MessageType
sourceimpl Default for MessageType
impl Default for MessageType
sourcefn default() -> MessageType
fn default() -> MessageType
Returns the “default value” for a type. Read more
sourceimpl From<MessageType> for i32
impl From<MessageType> for i32
sourcefn from(value: MessageType) -> i32
fn from(value: MessageType) -> i32
Converts to this type from the input type.
sourceimpl Hash for MessageType
impl Hash for MessageType
sourceimpl Ord for MessageType
impl Ord for MessageType
sourceimpl PartialEq<MessageType> for MessageType
impl PartialEq<MessageType> for MessageType
sourceimpl PartialOrd<MessageType> for MessageType
impl PartialOrd<MessageType> for MessageType
sourcefn partial_cmp(&self, other: &MessageType) -> Option<Ordering>
fn partial_cmp(&self, other: &MessageType) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
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 more
impl Copy for MessageType
impl Eq for MessageType
impl StructuralEq for MessageType
impl StructuralPartialEq for MessageType
Auto Trait Implementations
impl RefUnwindSafe for MessageType
impl Send for MessageType
impl Sync for MessageType
impl Unpin for MessageType
impl UnwindSafe for MessageType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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