zng::layout

Type Alias PxRect

source
pub type PxRect = Rect<Px, Px>;
Expand description

A rectangle in device pixels.

Aliased Type§

struct PxRect {
    pub origin: Point2D<Px, Px>,
    pub size: Size2D<Px, Px>,
}

Fields§

§origin: Point2D<Px, Px>§size: Size2D<Px, Px>