//! `AspectRatio` builder struct — a container that enforces a width:height ratio.
/// A container that constrains content to a specific aspect ratio.
#[must_use]pubstructAspectRatio{pub(crate)ratio:f32,
}implAspectRatio{/// Creates a new aspect ratio container. `ratio` is width/height (e.g. 16.0/9.0).
pubfnnew(ratio:f32)->Self{Self{ ratio }}}