1 2 3 4 5 6 7 8 9 10
pub struct WindowSize { pub width: u32, pub height: u32, } impl WindowSize { pub fn new(width: u32, height: u32) -> Self { Self { width, height } } }