/// A Rectangle defined by its top left corner, width and height.
#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)]#[cfg_attr(feature ="serde",derive(serde::Serialize, serde::Deserialize))]pubstructRect{/// The x coordinate of the top left corner.
pubx:u32,
/// The y coordinate of the top left corner.
puby:u32,
/// The rectangle's width.
pubwidth:u32,
/// The rectangle's height.
pubheight:u32,
}