#[repr(i32)]pub enum WindowState {
Normal = 0,
Minimized = 1,
Maximized = 2,
FullScreen = 3,
}Expand description
Defines the minimized/maximized state of a window.
Variants§
Normal = 0
The window is neither minimized or maximized.
Minimized = 1
The window is minimized.
Maximized = 2
The window is maximized.
FullScreen = 3
The window is fullscreen.
Trait Implementations§
Source§impl Clone for WindowState
impl Clone for WindowState
impl Copy for WindowState
Source§impl Debug for WindowState
impl Debug for WindowState
Source§impl Default for WindowState
impl Default for WindowState
impl Eq for WindowState
Source§impl Hash for WindowState
impl Hash for WindowState
Source§impl MarkupTyped for WindowState
impl MarkupTyped for WindowState
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for WindowState
impl PartialEq 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> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more