Enum sbp::messages::system::msg_ins_status::MotionState
source · pub enum MotionState {
UnknownOrInit = 0,
ArbitraryMotion = 1,
StraightMotion = 2,
Stationary = 3,
}
Expand description
Motion State
Variants§
UnknownOrInit = 0
Unknown or Init
ArbitraryMotion = 1
Arbitrary Motion
StraightMotion = 2
Straight Motion
Stationary = 3
Stationary
Trait Implementations§
source§impl Clone for MotionState
impl Clone for MotionState
source§fn clone(&self) -> MotionState
fn clone(&self) -> MotionState
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 moresource§impl Debug for MotionState
impl Debug for MotionState
source§impl Display for MotionState
impl Display for MotionState
source§impl Hash for MotionState
impl Hash for MotionState
source§impl PartialEq for MotionState
impl PartialEq for MotionState
source§fn eq(&self, other: &MotionState) -> bool
fn eq(&self, other: &MotionState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u8> for MotionState
impl TryFrom<u8> for MotionState
impl Copy for MotionState
impl Eq for MotionState
impl StructuralPartialEq for MotionState
Auto Trait Implementations§
impl Freeze for MotionState
impl RefUnwindSafe for MotionState
impl Send for MotionState
impl Sync for MotionState
impl Unpin for MotionState
impl UnwindSafe for MotionState
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