pub struct CollVis<'a, 'b, T: Aabb, N> { /* private fields */ }
Expand description
The main primitive to visit each node and find colliding pairs
Implementations
sourceimpl<'a, 'b, T: Aabb, N: NodeHandler> CollVis<'a, 'b, T, N>
impl<'a, 'b, T: Aabb, N: NodeHandler> CollVis<'a, 'b, T, N>
pub fn get_height(&self) -> usize
pub fn collide_and_next<'x, F: CollisionHandler<T>>(
self,
prevec: &'x mut PreVec,
func: &'x mut F
) -> (NodeFinisher<'x, 'b, T, F, N>, Option<[Self; 2]>)
pub fn recurse_seq(self, prevec: &mut PreVec, func: impl CollisionHandler<T>)
Auto Trait Implementations
impl<'a, 'b, T, N> RefUnwindSafe for CollVis<'a, 'b, T, N> where
N: RefUnwindSafe,
T: RefUnwindSafe,
<T as Aabb>::Num: RefUnwindSafe,
impl<'a, 'b, T, N> Send for CollVis<'a, 'b, T, N> where
N: Send,
T: Send,
<T as Aabb>::Num: Send,
impl<'a, 'b, T, N> Sync for CollVis<'a, 'b, T, N> where
N: Sync,
T: Sync,
<T as Aabb>::Num: Sync,
impl<'a, 'b, T, N> Unpin for CollVis<'a, 'b, T, N> where
N: Unpin,
'a: 'b,
impl<'a, 'b, T, N> !UnwindSafe for CollVis<'a, 'b, T, N>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more