cosmic::widget::canvas::path::lyon_path::math

Function size

source
pub fn size(w: f32, h: f32) -> Size2D<f32, UnknownUnit>
Expand description

Shorthand for Size::new(x, y).