pub struct WindowOptions {
pub titled: bool,
pub minimizable: bool,
pub closable: bool,
pub resizable: bool,
pub draggable: bool,
pub fullscreen: bool,
pub borderless: bool,
}
Expand description
Window options.
Fields§
§titled: bool
Turn on/off a window title.
minimizable: bool
Allow a window to be minimized.
closable: bool
Allow a window to be closed.
resizable: bool
Allow a window to be resized.
draggable: bool
Allow a window to be dragged.
fullscreen: bool
Allow a window to be switched to a fullscreen mode.
borderless: bool
Show/hide a window borders.
Trait Implementations§
Source§impl Clone for WindowOptions
impl Clone for WindowOptions
Source§fn clone(&self) -> WindowOptions
fn clone(&self) -> WindowOptions
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 WindowOptions
impl Debug for WindowOptions
Source§impl Default for WindowOptions
impl Default for WindowOptions
Source§fn default() -> WindowOptions
fn default() -> WindowOptions
Returns the “default value” for a type. Read more
Source§impl Into<NSWindowStyleMask> for WindowOptions
impl Into<NSWindowStyleMask> for WindowOptions
Source§fn into(self) -> NSWindowStyleMask
fn into(self) -> NSWindowStyleMask
Converts this type into the (usually inferred) input type.
Source§impl PartialEq for WindowOptions
impl PartialEq for WindowOptions
impl Copy for WindowOptions
impl Eq for WindowOptions
impl StructuralPartialEq for WindowOptions
Auto Trait Implementations§
impl Freeze for WindowOptions
impl RefUnwindSafe for WindowOptions
impl Send for WindowOptions
impl Sync for WindowOptions
impl Unpin for WindowOptions
impl UnwindSafe for WindowOptions
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