[][src]Struct nphysics3d::joint::RectangularConstraint

pub struct RectangularConstraint<N: Real> { /* fields omitted */ }

A constraint that remove all relative rotations and one relative translation between two body parts.

Methods

impl<N: Real> RectangularConstraint<N>
[src]

Create a new rectangular constraint that restrict b1 and b2 to move on a plane orthogonal to axis1.

The axis1 is expressed in the local coordinate system of b1. Both anchors are expressed in the local coordinate system of their respective bodies.

Trait Implementations

impl<N: Real> JointConstraint<N> for RectangularConstraint<N>
[src]

Return true if the constraint is active. Read more

impl<N: Real> NonlinearConstraintGenerator<N> for RectangularConstraint<N>
[src]

Auto Trait Implementations

impl<N> Send for RectangularConstraint<N> where
    N: Scalar

impl<N> Sync for RectangularConstraint<N> where
    N: Scalar

Blanket Implementations

impl<T> From for T
[src]

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Downcast for T where
    T: Any

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 

impl<T> Same for T

Should always be Self