Trait nphysics3d::joint::UnitJoint[][src]

pub trait UnitJoint<N: Real>: Joint<N> {
    fn position(&self) -> N;
fn motor(&self) -> &JointMotor<N, N>;
fn min_position(&self) -> Option<N>;
fn max_position(&self) -> Option<N>; }

Trait implemented by joints using the reduced-coordinates approach and allowing only one degree of freedom.

Required Methods

The generalized coordinate of the unit joint.

The motor applied to the degree of freedom of the unit joitn.

The lower limit, if any, set to the generalized coordinate of this unit joint.

The upper limit, if any, set to the generalized coordinate of this unit joint.

Methods

impl<N> UnitJoint<N> where
    N: Real

Important traits for &'a mut R

Important traits for &'a mut R

Important traits for Box<R>

Trait Implementations

impl<_T: Any, N> Downcast<_T> for UnitJoint<N> where
    _T: Any,
    N: 'static,
    N: Real

Important traits for &'a mut R

Important traits for &'a mut R

Important traits for Box<R>

Implementors