pub enum OpeningDirection {
IncreasingPosition,
DecreasingPosition,
}Expand description
Whether increasing raw motor position increases or decreases gripper opening.
Variants§
IncreasingPosition
Increasing raw motor position moves the gripper toward fully open.
DecreasingPosition
Decreasing raw motor position moves the gripper toward fully open.
Trait Implementations§
Source§impl Clone for OpeningDirection
impl Clone for OpeningDirection
Source§fn clone(&self) -> OpeningDirection
fn clone(&self) -> OpeningDirection
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 OpeningDirection
impl Debug for OpeningDirection
Source§impl Hash for OpeningDirection
impl Hash for OpeningDirection
Source§impl PartialEq for OpeningDirection
impl PartialEq for OpeningDirection
Source§fn eq(&self, other: &OpeningDirection) -> bool
fn eq(&self, other: &OpeningDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for OpeningDirection
impl Eq for OpeningDirection
impl StructuralPartialEq for OpeningDirection
Auto Trait Implementations§
impl Freeze for OpeningDirection
impl RefUnwindSafe for OpeningDirection
impl Send for OpeningDirection
impl Sync for OpeningDirection
impl Unpin for OpeningDirection
impl UnsafeUnpin for OpeningDirection
impl UnwindSafe for OpeningDirection
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.