Struct window::Size
[−]
[src]
pub struct Size {
pub width: u32,
pub height: u32,
}Size in pixels.
Fields
width | The width in pixels. |
height | The height in pixels. |
pub struct Size {
pub width: u32,
pub height: u32,
}Size in pixels.
width | The width in pixels. |
height | The height in pixels. |
impl From<[u32; 2]> for Sizeimpl From<(u32, u32)> for Sizeimpl Clone for Sizefn clone(&self) -> Sizefn clone_from(&mut self, source: &Self)impl Copy for Sizeimpl Debug for Size