Type Alias ribir_geom::DeviceSize

source ·
pub type DeviceSize<T = i32> = Size2D<T, PhysicUnit>;

Aliased Type§

struct DeviceSize<T = i32> {
    pub width: T,
    pub height: T,
}

Fields§

§width: T

The extent of the element in the U units along the x axis (usually horizontal).

§height: T

The extent of the element in the U units along the y axis (usually vertical).