pub enum ActuatorState {
Idle,
Enabled,
Disabled,
Moving,
Faulted,
Unknown,
Custom(String),
}Expand description
Descriptive actuator state vocabulary.
Variants§
Idle
Idle actuator state.
Enabled
Enabled actuator state.
Disabled
Disabled actuator state.
Moving
Moving actuator state.
Faulted
Faulted actuator state.
Unknown
Unknown actuator state.
Custom(String)
Caller-defined actuator state text.
Trait Implementations§
Source§impl Clone for ActuatorState
impl Clone for ActuatorState
Source§fn clone(&self) -> ActuatorState
fn clone(&self) -> ActuatorState
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 moreSource§impl Debug for ActuatorState
impl Debug for ActuatorState
Source§impl Display for ActuatorState
impl Display for ActuatorState
Source§impl FromStr for ActuatorState
impl FromStr for ActuatorState
Source§impl Hash for ActuatorState
impl Hash for ActuatorState
Source§impl Ord for ActuatorState
impl Ord for ActuatorState
Source§fn cmp(&self, other: &ActuatorState) -> Ordering
fn cmp(&self, other: &ActuatorState) -> Ordering
1.21.0 (const: unstable) · 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 ActuatorState
impl PartialEq for ActuatorState
Source§fn eq(&self, other: &ActuatorState) -> bool
fn eq(&self, other: &ActuatorState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ActuatorState
impl PartialOrd for ActuatorState
impl Eq for ActuatorState
impl StructuralPartialEq for ActuatorState
Auto Trait Implementations§
impl Freeze for ActuatorState
impl RefUnwindSafe for ActuatorState
impl Send for ActuatorState
impl Sync for ActuatorState
impl Unpin for ActuatorState
impl UnsafeUnpin for ActuatorState
impl UnwindSafe for ActuatorState
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