[][src]Trait ncollide2d::partitioning::Visitor

pub trait Visitor<T, BV> {
    fn visit(&mut self, bv: &BV, data: Option<&T>) -> VisitStatus;
}

Trait implemented by visitor called during the traversal of a spatial partitioning data structure.

Required methods

fn visit(&mut self, bv: &BV, data: Option<&T>) -> VisitStatus

Execute an operation on the content of a node of the spatial partitioning structure.

Returns whether the traversal should continue on the node's children, if it should not continue on those children, or if the whole traversal should be exited early.

Loading content...

Implementors

impl<'a, N, T, BV> Visitor<T, BV> for BoundingVolumeInterferencesCollector<'a, N, T, BV> where
    N: RealField,
    T: Clone,
    BV: BoundingVolume<N>, 
[src]

impl<'a, N, T, BV> Visitor<T, BV> for PointInterferencesCollector<'a, N, T> where
    N: RealField,
    T: Clone,
    BV: PointQuery<N>, 
[src]

impl<'a, N, T, BV> Visitor<T, BV> for RayInterferencesCollector<'a, N, T> where
    N: RealField,
    T: Clone,
    BV: RayCast<N>, 
[src]

impl<'a, N: RealField, BV: BoundingVolume<N> + PointQuery<N>, S: CompositeShape<N>> Visitor<usize, BV> for CompositePointContainmentTest<'a, N, S>[src]

Loading content...