carnelian::geometry

Type Alias IntRect

Source
pub type IntRect = Rect<IntCoord>;
Expand description

A two-dimensional integer rectangle

Aliased Type§

struct IntRect {
    pub origin: Point2D<i32, UnknownUnit>,
    pub size: Size2D<i32, UnknownUnit>,
}

Fields§

§origin: Point2D<i32, UnknownUnit>§size: Size2D<i32, UnknownUnit>