#[repr(u32)]pub enum WindowState {
Unknown = 0,
Restored = 1,
Minimized = 2,
Maximized = 3,
VertMaximized = 4,
Fullscreen = 5,
HorizMaximized = 6,
Hidden = 7,
Attached = 8,
}Expand description
Window state.
Variants§
Unknown = 0
Restored = 1
Minimized = 2
Maximized = 3
VertMaximized = 4
Fullscreen = 5
HorizMaximized = 6
Hidden = 7
Attached = 8
Used for panels, notifications and other windows attached to output edges.
Trait Implementations§
Source§impl Clone for WindowState
impl Clone for WindowState
Source§fn clone(&self) -> WindowState
fn clone(&self) -> WindowState
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 WindowState
impl Debug for WindowState
Source§impl Default for WindowState
impl Default for WindowState
Source§fn default() -> WindowState
fn default() -> WindowState
Returns the “default value” for a type. Read more
Source§impl From<WindowState> for MirWindowState
impl From<WindowState> for MirWindowState
Source§fn from(value: WindowState) -> Self
fn from(value: WindowState) -> Self
Converts to this type from the input type.
Source§impl Hash for WindowState
impl Hash for WindowState
Source§impl PartialEq for WindowState
impl PartialEq for WindowState
Source§impl TryFrom<u32> for WindowState
impl TryFrom<u32> for WindowState
impl Copy for WindowState
impl Eq for WindowState
impl StructuralPartialEq for WindowState
Auto Trait Implementations§
impl Freeze for WindowState
impl RefUnwindSafe for WindowState
impl Send for WindowState
impl Sync for WindowState
impl Unpin for WindowState
impl UnsafeUnpin for WindowState
impl UnwindSafe for WindowState
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