[][src]Struct collision::dbvt::ContinuousVisitor

pub struct ContinuousVisitor<'a, B: 'a, T> { /* fields omitted */ }

Visitor for doing continuous intersection testing on the DBVT.

Will return the result from the Continuous implementation of bound.intersection(self.bound).

Methods

impl<'a, B: 'a, T> ContinuousVisitor<'a, B, T> where
    T: TreeValue,
    T::Bound: Continuous<B> + Discrete<B>, 
[src]

pub fn new(bound: &'a B) -> Self[src]

Create a new visitor that will do continuous intersection tests using the given bound.

Trait Implementations

impl<'a, B: 'a, T> Visitor for ContinuousVisitor<'a, B, T> where
    T: TreeValue,
    T::Bound: Continuous<B> + Discrete<B>, 
[src]

type Bound = T::Bound

Bounding volume accepted by the visitor

type Result = <T::Bound as Continuous<B>>::Result

Result returned by the acceptance test

impl<'a, B: Debug + 'a, T: Debug> Debug for ContinuousVisitor<'a, B, T>[src]

Auto Trait Implementations

impl<'a, B, T> Send for ContinuousVisitor<'a, B, T> where
    B: Sync,
    T: Send

impl<'a, B, T> Sync for ContinuousVisitor<'a, B, T> where
    B: Sync,
    T: Sync

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.