Trait HasBoundingBox2DMaybe

Source
pub trait HasBoundingBox2DMaybe {
    // Required method
    fn bounding_box_maybe(&self) -> Result<BoundingBox2D>;
}
Expand description

HasBoundingBox2DMaybe is a trait for types which might have a bounding box

Required Methods§

Source

fn bounding_box_maybe(&self) -> Result<BoundingBox2D>

Should return the bounding box if it can be calculated

Implementors§