[][src]Struct nphysics2d::detection::ColliderContactManifold

pub struct ColliderContactManifold<'a, N: Real> {
    pub collider1: &'a Collider<N>,
    pub collider2: &'a Collider<N>,
    pub manifold: &'a ContactManifold<N>,
}

A contact manifold between two bodies.

Fields

The first collider involved in the contact.

The second collider involved in the contact.

The contact manifold.

Methods

impl<'a, N: Real> ColliderContactManifold<'a, N>
[src]

Initialize a new contact manifold.

The number of contacts on the manifold.

Get all the contacts from the manifold.

Get the deepest contact, if any, from the manifold.

The handle of the first body involved in the contact.

The handle of the first body involved in the contact.

The handle of the first body part involved in the given contact on the specified feature.

The feature is assumed to belong to the first collider involved in this contact.

The handle of the second body part involved in the given contact on the specified feature.

The feature is assumed to belong to the second collider involved in this contact.

The anchor between the fist collider and the body it is attached to.

The anchor between the fist collider and the body it is attached to.

Trait Implementations

impl<'a, N: Clone + Real> Clone for ColliderContactManifold<'a, N>
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<'a, N> Send for ColliderContactManifold<'a, N> where
    N: Scalar

impl<'a, N> Sync for ColliderContactManifold<'a, 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> ToOwned for T where
    T: Clone
[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