[][src]Struct collision::dbvt::DiscreteVisitor

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

Visitor for doing discrete intersection testing on the DBVT.

Will return () for intersections with the Discrete implementation of bound.intersects(self.bound).

Methods

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

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

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

Trait Implementations

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

type Bound = T::Bound

Bounding volume accepted by the visitor

type Result = ()

Result returned by the acceptance test

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

Auto Trait Implementations

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

impl<'a, B, T> Sync for DiscreteVisitor<'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.