[][src]Struct nphysics2d::joint::CartesianConstraint

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

A constraint that removes all relative angular motion between two body parts.

Methods

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

Creates a cartesian constraint between two body parts.

This will ensure the rotational parts of the frames given identified by ref_frame1 and ref_frame2 and attached to the corresponding bodies will coincide.

Changes the reference frame for the first body part.

Changes the reference frame for the second body part.

Changes the attach point for the first body part.

Changes the attach point for the second body part.

Trait Implementations

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

Return true if the constraint is active. Read more

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

Auto Trait Implementations

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

impl<N> Sync for CartesianConstraint<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