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§
Sourcefn bounding_box_maybe(&self) -> Result<BoundingBox2D>
fn bounding_box_maybe(&self) -> Result<BoundingBox2D>
Should return the bounding box if it can be calculated