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