[][src]Trait broccoli::query::ColMulti

pub trait ColMulti {
    type T: Aabb;
    pub fn collide(&mut self, a: PMut<'_, Self::T>, b: PMut<'_, Self::T>);
}

Used for the advanced algorithms. Trait that user implements to handling aabb collisions. The user supplies a struct that implements this trait instead of just a closure so that the user may also have the struct implement Splitter.

Associated Types

type T: Aabb[src]

Loading content...

Required methods

pub fn collide(&mut self, a: PMut<'_, Self::T>, b: PMut<'_, Self::T>)[src]

Loading content...

Implementors

Loading content...