pub struct CollVis<'a, 'b, T: Aabb> { /* private fields */ }
Expand description
The main primitive to visit each node and find colliding pairs
Implementations
sourceimpl<'a, 'b, T: Aabb> CollVis<'a, 'b, T>
impl<'a, 'b, T: Aabb> CollVis<'a, 'b, T>
pub fn new(vistr: VistrMutPin<'b, Node<'a, T>>) -> Self
pub fn get_height(&self) -> usize
pub fn num_elem(&self) -> usize
pub fn collide_and_next<N: NodeHandler<T>>(
self,
handler: &mut N
) -> (NodeFinisher<'b, T>, Option<[Self; 2]>)
pub fn recurse_seq<N: NodeHandler<T>>(self, handler: &mut N)
Auto Trait Implementations
impl<'a, 'b, T> RefUnwindSafe for CollVis<'a, 'b, T> where
T: RefUnwindSafe,
<T as Aabb>::Num: RefUnwindSafe,
impl<'a, 'b, T> Send for CollVis<'a, 'b, T> where
T: Send,
<T as Aabb>::Num: Send,
impl<'a, 'b, T> Sync for CollVis<'a, 'b, T> where
T: Sync,
<T as Aabb>::Num: Sync,
impl<'a, 'b, T> Unpin for CollVis<'a, 'b, T> where
'a: 'b,
impl<'a, 'b, T> !UnwindSafe for CollVis<'a, 'b, T>
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