pub struct WindowFlags {
pub is_maximized: bool,
pub is_fullscreen: bool,
pub has_decorations: bool,
pub is_visible: bool,
pub is_always_on_top: bool,
pub is_resizable: bool,
}
Fields§
§is_maximized: bool
Is the window currently maximized
is_fullscreen: bool
Is the window currently fullscreened?
has_decorations: bool
Does the window have decorations (close, minimize, maximize, title bar)?
is_visible: bool
Is the window currently visible?
is_always_on_top: bool
Is the window always on top?
is_resizable: bool
Whether the window is resizable
Trait Implementations§
Source§impl Clone for WindowFlags
impl Clone for WindowFlags
Source§fn clone(&self) -> WindowFlags
fn clone(&self) -> WindowFlags
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 WindowFlags
impl Debug for WindowFlags
Source§impl Default for WindowFlags
impl Default for WindowFlags
Source§impl Hash for WindowFlags
impl Hash for WindowFlags
Source§impl Ord for WindowFlags
impl Ord for WindowFlags
Source§fn cmp(&self, other: &WindowFlags) -> Ordering
fn cmp(&self, other: &WindowFlags) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WindowFlags
impl PartialEq for WindowFlags
Source§impl PartialOrd for WindowFlags
impl PartialOrd for WindowFlags
impl Copy for WindowFlags
impl Eq for WindowFlags
impl StructuralPartialEq for WindowFlags
Auto Trait Implementations§
impl Freeze for WindowFlags
impl RefUnwindSafe for WindowFlags
impl Send for WindowFlags
impl Sync for WindowFlags
impl Unpin for WindowFlags
impl UnwindSafe for WindowFlags
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)