Expand description
This module exports rectangle utilities.
Structs
- Iterator over inner borders of the rectangle. See
Rect::borders. - Iterator over columns of the rectangle. See
Rect::columns. - A rectangle in a plane.
- Iterator over rows of the rectangle. See
Rect::rows.
Traits
- Performs addition that returns
Noneinstead of wrapping around on overflow. - Performs subtraction that returns
Noneinstead of wrapping around on underflow. - Defines a multiplicative identity element for
Self. - Performs addition that saturates at the numeric bounds instead of overflowing.
- Performs subtraction that saturates at the numeric bounds instead of overflowing.
- Performs addition that wraps around on overflow.
- Performs subtraction that wraps around on overflow.
- Defines an additive identity element for
Self.