[−][src]Struct collision::dbvt::ContinuousVisitor
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]
T: TreeValue,
T::Bound: Continuous<B> + Discrete<B>,
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]
T: TreeValue,
T::Bound: Continuous<B> + Discrete<B>,
type Bound = T::Bound
Bounding volume accepted by the visitor
type Result = <T::Bound as Continuous<B>>::Result
Result returned by the acceptance test
fn accept(&mut self, bound: &Self::Bound, _: bool) -> Option<Self::Result>
[src]
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,
B: Sync,
T: Send,
impl<'a, B, T> Sync for ContinuousVisitor<'a, B, T> where
B: Sync,
T: Sync,
B: Sync,
T: Sync,
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,