carnelian::geometry

Type Alias Rect

Source
pub type Rect = Rect<Coord>;
Expand description

A two-dimensional rectangle

Aliased Type§

struct Rect {
    pub origin: Point2D<f32, UnknownUnit>,
    pub size: Size2D<f32, UnknownUnit>,
}

Fields§

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

Trait Implementations§