Type Alias layout_2020::geom::PhysicalSize
source · pub type PhysicalSize<U> = Size2D<U, CSSPixel>;
Aliased Type§
struct PhysicalSize<U> {
pub width: U,
pub height: U,
}
Fields§
§width: U
The extent of the element in the U
units along the x
axis (usually horizontal).
height: U
The extent of the element in the U
units along the y
axis (usually vertical).