Trait collision::dbvt::Visitor
[−]
[src]
pub trait Visitor { type Bound; type Result; fn accept(
&mut self,
bound: &Self::Bound,
is_leaf: bool
) -> Option<Self::Result>; }
Visitor trait used for querying the tree.
Associated Types
Required Methods
fn accept(&mut self, bound: &Self::Bound, is_leaf: bool) -> Option<Self::Result>
Acceptance test function
Implementors
impl<'a, B: 'a, T> Visitor for ContinuousVisitor<'a, B, T> where
T: TreeValue,
T::Bound: Continuous<B> + Discrete<B>, type Bound = T::Bound; type Result = <T::Bound as Continuous<B>>::Result;impl<'a, B: 'a, T> Visitor for DiscreteVisitor<'a, B, T> where
T: TreeValue,
T::Bound: Discrete<B>, type Bound = T::Bound; type Result = ();impl<'a, S, T> Visitor for FrustumVisitor<'a, S, T> where
S: BaseFloat,
T: TreeValue,
T::Bound: PlaneBound<S>, type Bound = T::Bound; type Result = Relation;