Skip to main content

size

Function size 

Source
pub fn size(w: u32, h: u32) -> Size
Expand description

Creates a Size; shorthand for Size::new.

§Arguments

  • w - The width in pixels.
  • h - The height in pixels.

§Returns

The new Size.