pub struct WindowSettings {
pub title: Option<String>,
pub size: (u32, u32),
pub resizable: bool,
}
Expand description
Window settings.
Fields§
§title: Option<String>
§size: (u32, u32)
Window size. Defaults to 800x600.
resizable: bool
Allow window to be resized. Defaults to true.
Trait Implementations§
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