Struct libnoentiendo::platform::WindowConfig
source · pub struct WindowConfig {
pub width: u32,
pub height: u32,
pub scale: f64,
}
Expand description
Represents the configuration of a GUI window that the system can request from the platform.
Fields§
§width: u32
§height: u32
§scale: f64
Implementations§
Trait Implementations§
source§impl Clone for WindowConfig
impl Clone for WindowConfig
source§fn clone(&self) -> WindowConfig
fn clone(&self) -> WindowConfig
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 WindowConfig
impl Debug for WindowConfig
source§impl PartialEq for WindowConfig
impl PartialEq for WindowConfig
source§fn eq(&self, other: &WindowConfig) -> bool
fn eq(&self, other: &WindowConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for WindowConfig
impl StructuralPartialEq for WindowConfig
Auto Trait Implementations§
impl RefUnwindSafe for WindowConfig
impl Send for WindowConfig
impl Sync for WindowConfig
impl Unpin for WindowConfig
impl UnwindSafe for WindowConfig
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