pub struct WindowResolution {
pub width: u32,
pub height: u32,
}
Expand description
Resolution for a client window
Fields§
§width: u32
The width of the window
height: u32
The height of the window
Implementations§
Trait Implementations§
Source§impl Clone for WindowResolution
impl Clone for WindowResolution
Source§fn clone(&self) -> WindowResolution
fn clone(&self) -> WindowResolution
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WindowResolution
impl Debug for WindowResolution
impl Copy for WindowResolution
Auto Trait Implementations§
impl Freeze for WindowResolution
impl RefUnwindSafe for WindowResolution
impl Send for WindowResolution
impl Sync for WindowResolution
impl Unpin for WindowResolution
impl UnwindSafe for WindowResolution
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