pub fn bounding_rect<I>(
    vertices: I
) -> Option<Rect<<I::Item as Vertex>::Scalar>>
where I: IntoIterator, I::Item: Vertex2d,
Expand description

The Rect that bounds the given sequence of vertices.

Returns None if the given iterator is empty.