pub enum GripperState {
Open,
Closed,
Holding,
Moving,
Error,
}Expand description
Gripper state.
Variants§
Open
Gripper fully open
Closed
Gripper fully closed
Holding
Gripper partially closed / holding
Moving
Gripper moving
Error
Gripper error
Trait Implementations§
Source§impl Clone for GripperState
impl Clone for GripperState
Source§fn clone(&self) -> GripperState
fn clone(&self) -> GripperState
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 GripperState
impl Debug for GripperState
Source§impl Default for GripperState
impl Default for GripperState
Source§fn default() -> GripperState
fn default() -> GripperState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GripperState
impl<'de> Deserialize<'de> for GripperState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for GripperState
impl Hash for GripperState
Source§impl PartialEq for GripperState
impl PartialEq for GripperState
Source§impl Serialize for GripperState
impl Serialize for GripperState
impl Copy for GripperState
impl Eq for GripperState
impl StructuralPartialEq for GripperState
Auto Trait Implementations§
impl Freeze for GripperState
impl RefUnwindSafe for GripperState
impl Send for GripperState
impl Sync for GripperState
impl Unpin for GripperState
impl UnwindSafe for GripperState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.