float_pigment_layout

Type Alias OptionSize

Source
pub type OptionSize<L> = Size2D<OptionNum<L>, UnknownUnit>;
Expand description

Size, but each value can be None for undetermined.

Aliased Type§

struct OptionSize<L> {
    pub width: OptionNum<L>,
    pub height: OptionNum<L>,
}

Fields§

§width: OptionNum<L>

The extent of the element in the U units along the x axis (usually horizontal).

§height: OptionNum<L>

The extent of the element in the U units along the y axis (usually vertical).