//! Various types used in the [`crate::surface`] module.
/// Describes a rectangle area.
#[derive(Debug, Clone, Copy)]pubstructRect{/// X coordinate of the upper-left corner of the rectangle.
pubx:u32,
/// Y coordinate of the upper-left corner of the rectangle.
puby:u32,
/// Width of the rectangle.
pubwidth:u32,
/// Height of the rectangle.
pubheight:u32,
}/// Describes a rectangle area to be copied from a source texture to a destination texture.
#[derive(Debug, Clone, Copy)]pubstructCopyRect{/// X coordinate of the upper-left corner of the destination rectangle.
pubdst_x:u32,
/// Y coordinate of the upper-left corner of the destination rectangle.
pubdst_y:u32,
/// Source rectangle area.
pubsrc: Rect,
}