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)
Auto Trait Implementations§
impl !Freeze for Window
impl !RefUnwindSafe for Window
impl Send for Window
impl Sync for Window
impl Unpin for Window
impl !UnwindSafe for Window
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more