#[repr(C)]pub enum WindowFrame {
Normal = 0,
Minimized = 1,
Maximized = 2,
Fullscreen = 3,
}Expand description
Window frame state (normal, minimized, maximized, fullscreen)
Variants§
Trait Implementations§
Source§impl Clone for WindowFrame
impl Clone for WindowFrame
Source§fn clone(&self) -> WindowFrame
fn clone(&self) -> WindowFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WindowFrame
impl Debug for WindowFrame
Source§impl Hash for WindowFrame
impl Hash for WindowFrame
Source§impl Ord for WindowFrame
impl Ord for WindowFrame
Source§fn cmp(&self, other: &WindowFrame) -> Ordering
fn cmp(&self, other: &WindowFrame) -> Ordering
1.21.0 (const: unstable) · 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 WindowFrame
impl PartialEq for WindowFrame
Source§fn eq(&self, other: &WindowFrame) -> bool
fn eq(&self, other: &WindowFrame) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WindowFrame
impl PartialOrd for WindowFrame
impl Copy for WindowFrame
impl Eq for WindowFrame
impl StructuralPartialEq for WindowFrame
Auto Trait Implementations§
impl Freeze for WindowFrame
impl RefUnwindSafe for WindowFrame
impl Send for WindowFrame
impl Sync for WindowFrame
impl Unpin for WindowFrame
impl UnsafeUnpin for WindowFrame
impl UnwindSafe for WindowFrame
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