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

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]

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

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

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

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

impl<N: RealField> StructuralEq for ContactTrackingMode<N>[src]

impl<N: RealField> StructuralPartialEq for ContactTrackingMode<N>[src]

Auto Trait Implementations

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

impl<N> Send for ContactTrackingMode<N>

impl<N> Sync for ContactTrackingMode<N>

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

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

Blanket Implementations

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

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

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

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

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

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

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

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

impl<Src, Dst> LosslessTryInto<Dst> for Src where
    Dst: LosslessTryFrom<Src>, 
[src]

impl<Src, Dst> LossyInto<Dst> for Src where
    Dst: LossyFrom<Src>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,