Enum parry2d::query::TOIStatus[][src]

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> Az for T[src]

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

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

impl<T> CheckedAs for T[src]

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

impl<T> DowncastSync for T where
    T: Any + Send + Sync
[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> OverflowingAs for T[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatingAs for T[src]

impl<T> Scalar for T where
    T: Copy + PartialEq<T> + Debug + Any
[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<T> UnwrappedAs for T[src]

impl<T> WrappingAs for T[src]