NodeHandlerExt

Trait NodeHandlerExt 

Source
pub trait NodeHandlerExt<T: Aabb>: NodeHandler<T> + Sized {
    // Required methods
    fn div(&mut self) -> Self;
    fn add(&mut self, b: Self);
}

Required Methods§

Source

fn div(&mut self) -> Self

Called to split this into two to be passed to the children.

Source

fn add(&mut self, b: Self)

Called to add the results of the recursive calls on the children.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<Acc: CollisionHandlerExt<T>, T: Aabb> NodeHandlerExt<T> for DefaultNodeHandler<Acc>

Source§

fn div(&mut self) -> Self

Source§

fn add(&mut self, b: Self)

Implementors§