[][src]Enum ncollide2d::query::ContactTrackingMode

pub enum ContactTrackingMode<N: RealField> {
    FeatureBased,
    DistanceBased(N),
}

The technique used for contact tracking.

Variants

FeatureBased

Contact tracking using features. Two contacts are considered the same if they are on the same features.

DistanceBased(N)

Contact tracking using distances. Two contacts are considered the same if they are closer than the given threshold.

Trait Implementations

impl<N: Clone + RealField> Clone for ContactTrackingMode<N>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<N: PartialEq + RealField> PartialEq<ContactTrackingMode<N>> for ContactTrackingMode<N>[src]

impl<N: Copy + RealField> Copy for ContactTrackingMode<N>[src]

impl<N: Eq + RealField> Eq for ContactTrackingMode<N>[src]

impl<N: Debug + RealField> Debug for ContactTrackingMode<N>[src]

Auto Trait Implementations

impl<N> Unpin for ContactTrackingMode<N> where
    N: Unpin

impl<N> Sync for ContactTrackingMode<N>

impl<N> Send for ContactTrackingMode<N>

impl<N> UnwindSafe for ContactTrackingMode<N> where
    N: UnwindSafe

impl<N> RefUnwindSafe for ContactTrackingMode<N> where
    N: RefUnwindSafe

Blanket Implementations

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

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

type Owned = T

The resulting type after obtaining ownership.

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

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.

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

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

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

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> Scalar for T where
    T: Copy + PartialEq<T> + Any + Debug
[src]

fn is<T>() -> bool where
    T: Scalar
[src]

Tests if Self the same as the type T Read more

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Slottable for T where
    T: Copy
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]