Function rten_imageproc::bounding_rect
source · pub fn bounding_rect<'a, Shape: 'a + BoundingRect, I: Iterator<Item = &'a Shape>>(
objects: I
) -> Option<Rect<Shape::Coord>>
Expand description
Return the bounding rectangle of a collection of shapes.
Returns None
if the collection is empty.