pub trait BoundingRect { // Required method fn bounding_rect(&self) -> Result<Option<Rect>, Error>; }