Enum parry3d::partitioning::SimdBestFirstVisitStatus[][src]

pub enum SimdBestFirstVisitStatus<Res> {
    MaybeContinue {
        weights: SimdReal,
        mask: SimdBool,
        results: [Option<Res>; 4],
    },
    ExitEarly(Option<Res>),
}

The next action to be taken by a BVH traversal algorithm after having visited a node with some data.

Variants

MaybeContinue

The traversal can continue.

Fields of MaybeContinue

weights: SimdReal

The weight associated to each child of the node being traversed.

mask: SimdBool

Each lane indicates if the corresponding child of the node being traversed should be traversed too.

results: [Option<Res>; 4]

Optional results associated to each child of the node being traversed.

ExitEarly(Option<Res>)

The traversal aborts.

If a data is provided, then it is returned as the result of the traversal. If no result is provided, then the last best result found becomes the result of the traversal.

Auto Trait Implementations

impl<Res> RefUnwindSafe for SimdBestFirstVisitStatus<Res> where
    Res: RefUnwindSafe

impl<Res> Send for SimdBestFirstVisitStatus<Res> where
    Res: Send

impl<Res> Sync for SimdBestFirstVisitStatus<Res> where
    Res: Sync

impl<Res> Unpin for SimdBestFirstVisitStatus<Res> where
    Res: Unpin

impl<Res> UnwindSafe for SimdBestFirstVisitStatus<Res> where
    Res: 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: Any + Send + Sync
[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<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[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.