Struct dynpick_force_torque_sensor::Wrench[][src]

pub struct Wrench {
    pub force: Triplet<f64>,
    pub torque: Triplet<f64>,
}

A pair of force and torque.

Fields

force: Triplet<f64>

3-dimensional force in Newton.

torque: Triplet<f64>

3-dimensional torque in NewtonMeter.

Implementations

impl Wrench[src]

pub fn new(force: Triplet<f64>, torque: Triplet<f64>) -> Wrench[src]

Returns a new wrench.

pub fn zeroed() -> Wrench[src]

Returns a new wrench, initializing it to 0 Newton and 0 NewtonMeter.

Trait Implementations

impl Clone for Wrench[src]

impl Copy for Wrench[src]

impl Debug for Wrench[src]

impl PartialEq<Wrench> for Wrench[src]

impl StructuralPartialEq for Wrench[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.