pub struct GripperOpeningSpec {
pub direction: OpeningDirection,
pub default_current: Option<f64>,
}Expand description
Configuration required for normalized gripper opening commands.
Fields§
§direction: OpeningDirectionOpening direction for this gripper mechanism.
default_current: Option<f64>Default per-unit current used when opening commands omit one.
Implementations§
Source§impl GripperOpeningSpec
impl GripperOpeningSpec
Sourcepub fn new(direction: OpeningDirection, default_current: Option<f64>) -> Self
pub fn new(direction: OpeningDirection, default_current: Option<f64>) -> Self
Constructor for normalized gripper opening configuration.
Trait Implementations§
Source§impl Clone for GripperOpeningSpec
impl Clone for GripperOpeningSpec
Source§fn clone(&self) -> GripperOpeningSpec
fn clone(&self) -> GripperOpeningSpec
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 GripperOpeningSpec
impl Debug for GripperOpeningSpec
Source§impl PartialEq for GripperOpeningSpec
impl PartialEq for GripperOpeningSpec
Source§fn eq(&self, other: &GripperOpeningSpec) -> bool
fn eq(&self, other: &GripperOpeningSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for GripperOpeningSpec
impl StructuralPartialEq for GripperOpeningSpec
Auto Trait Implementations§
impl Freeze for GripperOpeningSpec
impl RefUnwindSafe for GripperOpeningSpec
impl Send for GripperOpeningSpec
impl Sync for GripperOpeningSpec
impl Unpin for GripperOpeningSpec
impl UnsafeUnpin for GripperOpeningSpec
impl UnwindSafe for GripperOpeningSpec
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