cosmic
0.1.0
In cosmic::
widget::
canvas::
path::
lyon_
path::
geom
Function
cosmic
::
widget
::
canvas
::
path
::
lyon_path
::
geom
::
size
Copy item path
source
ยท
[
−
]
pub fn size<S>(w: S, h: S) ->
Size2D
<S,
UnknownUnit
>
Expand description
Shorthand for
Size::new(x, y)
.