Type Alias Size

Source
pub type Size<T> = Size2D<T, UnknownUnit>;
Expand description

Alias for euclid::default::Size2D.

Aliased Type§

#[repr(C)]
pub struct Size<T> { 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).