pub struct Window { /* private fields */ }
Expand description
Window implementation for rendering applications.
Implementations§
source§impl Window
impl Window
sourcepub fn window_handle(&self) -> &WindowHandle
pub fn window_handle(&self) -> &WindowHandle
Returns the window handle.
sourcepub fn dimensions(&self) -> (u32, u32)
pub fn dimensions(&self) -> (u32, u32)
Returns the dimensions of the current window. (width, height)