Function size
pub fn size(w: f32, h: f32) -> Size2D<f32, UnknownUnit>
Available on crate feature
geometry
only.Expand description
Shorthand for Size::new(x, y)
.
pub fn size(w: f32, h: f32) -> Size2D<f32, UnknownUnit>
geometry
only.Shorthand for Size::new(x, y)
.