Struct parry2d::query::visitors::RayIntersectionsVisitor[][src]

pub struct RayIntersectionsVisitor<'a, T, F> { /* fields omitted */ }

Bounding Volume Tree visitor collecting intersections with a given ray.

Implementations

impl<'a, T, F> RayIntersectionsVisitor<'a, T, F> where
    F: FnMut(&T) -> bool
[src]

pub fn new(
    ray: &Ray,
    max_toi: Real,
    callback: &'a mut F
) -> RayIntersectionsVisitor<'a, T, F>
[src]

Creates a new RayIntersectionsVisitor.

Trait Implementations

impl<'a, T, F> SimdVisitor<T, SimdAABB> for RayIntersectionsVisitor<'a, T, F> where
    F: FnMut(&T) -> bool
[src]

Auto Trait Implementations

impl<'a, T, F> RefUnwindSafe for RayIntersectionsVisitor<'a, T, F> where
    F: RefUnwindSafe,
    T: RefUnwindSafe

impl<'a, T, F> Send for RayIntersectionsVisitor<'a, T, F> where
    F: Send,
    T: Send

impl<'a, T, F> Sync for RayIntersectionsVisitor<'a, T, F> where
    F: Sync,
    T: Sync

impl<'a, T, F> Unpin for RayIntersectionsVisitor<'a, T, F> where
    T: Unpin

impl<'a, T, F> !UnwindSafe for RayIntersectionsVisitor<'a, T, F>

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

impl<T> UnwrappedAs for T[src]

impl<T> WrappingAs for T[src]