pub struct WindowConfiguration {
pub width: Option<usize>,
pub height: Option<usize>,
pub fullscreen: Option<bool>,
}
Fields§
§width: Option<usize>
Width of the window
height: Option<usize>
Height of the window
fullscreen: Option<bool>
Is window going to be in fullscreen mode?
Trait Implementations§
Source§impl Clone for WindowConfiguration
impl Clone for WindowConfiguration
Source§fn clone(&self) -> WindowConfiguration
fn clone(&self) -> WindowConfiguration
Returns a duplicate 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 WindowConfiguration
impl Debug for WindowConfiguration
Auto Trait Implementations§
impl Freeze for WindowConfiguration
impl RefUnwindSafe for WindowConfiguration
impl Send for WindowConfiguration
impl Sync for WindowConfiguration
impl Unpin for WindowConfiguration
impl UnwindSafe for WindowConfiguration
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