euclid::default

Type Alias Size2D

source
pub type Size2D<T> = Size2D<T, UnknownUnit>;

Aliased Type§

struct Size2D<T> {
    pub width: T,
    pub height: T,
    /* private fields */
}

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).