Skip to main content

Bounded

Trait Bounded 

Source
pub trait Bounded {
    // Required method
    fn bounds(&self) -> Rect;
}
Expand description

A world-space bounding box enclosing an object’s whole painted/hittable footprint, for broad-phase spatial queries. See the module docs.

Required Methods§

Source

fn bounds(&self) -> Rect

Implementors§