Trait aabb_quadtree::Spatial [] [src]

pub trait Spatial {
    fn aabb(&self) -> Rect;
}

An object that has a bounding box.

Implementing this trait is not required, but can make insertions easier.

Required Methods

Returns the boudning box for the object.

Implementors