pub struct WindowSettings {
pub title: String,
pub display_mode: DisplayMode,
pub vsync: Vsync,
}Expand description
Configuration settings for the window.
Fields§
§title: StringThe title of the window.
display_mode: DisplayModeThe display mode of the window.
vsync: VsyncVsync mode for the window.
Trait Implementations§
Source§impl Clone for WindowSettings
impl Clone for WindowSettings
Source§fn clone(&self) -> WindowSettings
fn clone(&self) -> WindowSettings
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 WindowSettings
impl Debug for WindowSettings
Source§impl Default for WindowSettings
impl Default for WindowSettings
Source§fn default() -> WindowSettings
fn default() -> WindowSettings
Returns the “default value” for a type. Read more
Source§impl PartialEq for WindowSettings
impl PartialEq for WindowSettings
impl StructuralPartialEq for WindowSettings
Auto Trait Implementations§
impl Freeze for WindowSettings
impl RefUnwindSafe for WindowSettings
impl Send for WindowSettings
impl Sync for WindowSettings
impl Unpin for WindowSettings
impl UnwindSafe for WindowSettings
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