Type Alias AspectRatio

Source
pub(crate) type AspectRatio = GenericAspectRatio<NonNegative<f32>>;
Expand description

A computed value for the aspect-ratio property.

Aliased Type§

#[repr(C)]
pub(crate) struct AspectRatio { pub auto: bool, pub ratio: PreferredRatio<NonNegative<f32>>, }

Fields§

§auto: bool

Specifiy auto or not.

§ratio: PreferredRatio<NonNegative<f32>>

The preferred aspect-ratio value.