Function nannou_core::geom::bounding_rect
source · pub fn bounding_rect<I>(
vertices: I
) -> Option<Rect<<I::Item as Vertex>::Scalar>>
Expand description
The Rect
that bounds the given sequence of vertices.
Returns None
if the given iterator is empty.