Skip to main content

Size2D

Type Alias Size2D 

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

Default 2d size type with no unit.

Size2D provides the same methods as TypedSize2D.

Aliased Type§

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

Fields§

§width: T§height: T