Type Alias Dimensions

Source
pub type Dimensions = Rect<usize>;
Expand description

Describes Dimensions used for the aspect ratio of the output.

Aliased Type§

struct Dimensions { /* private fields */ }

Implementations§

Source§

impl Dimensions

Source

pub fn from_wh(width: usize, height: usize) -> Self

Creates [Dimensions] from width and height.