[][src]Enum ncollide3d::query::TOIStatus

pub enum TOIStatus {
    OutOfIterations,
    Converged,
    Failed,
    Penetrating,
}

The status of the time-of-impact computation algorithm.

Variants

OutOfIterations

The TOI algorithm ran out of iterations before achieving convergence.

If this happens, the content of the NonlinearTOI will still be a conservative approximation of the actual result so it is often fine to interpret this case as a success.

Converged

The TOI algorithm converged successfully.

Failed

Something went wrong during the TOI computation, likely due to numerical instabilities.

If this happens, the content of the NonlinearTOI will still be a conservative approximation of the actual result so it is often fine to interpret this case as a success.

Penetrating

The two shape already overlap at the time 0.

If this happens, the witness points provided by the NonlinearTOI will be invalid.

Trait Implementations

impl Clone for TOIStatus[src]

impl Copy for TOIStatus[src]

impl Debug for TOIStatus[src]

impl Eq for TOIStatus[src]

impl PartialEq<TOIStatus> for TOIStatus[src]

impl StructuralEq for TOIStatus[src]

impl StructuralPartialEq for TOIStatus[src]

Auto Trait Implementations

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

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

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<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<T> Slottable for T where
    T: Copy
[src]

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

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>,