pub type PxDensity2d = Size2D<PxDensity, PxDensity>;Expand description
Pixel density value that can differ between dimensions.
Aliased Type§
#[repr(C)]pub struct PxDensity2d {
pub width: PxDensity,
pub height: PxDensity,
}Fields§
§width: PxDensityThe extent of the element in the U units along the x axis (usually horizontal).
height: PxDensityThe extent of the element in the U units along the y axis (usually vertical).