image/math/rect.rs
/// A Rectangle defined by its top left corner, width and height.
#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)]
pub struct Rect {
/// The x coordinate of the top left corner.
pub x: u32,
/// The y coordinate of the top left corner.
pub y: u32,
/// The rectangle's width.
pub width: u32,
/// The rectangle's height.
pub height: u32,
}