#[repr(u32)]pub enum WindowType {
Normal = 0,
Utility = 1,
Dialog = 2,
Gloss = 3,
Freestyle = 4,
Menu = 5,
InputMethod = 6,
Satellite = 7,
Tip = 8,
Decoration = 9,
}Expand description
Window type.
Variants§
Normal = 0
AKA “regular”
Utility = 1
AKA “floating”
Dialog = 2
A dialog box.
Gloss = 3
A splash or branding surface.
Freestyle = 4
A window whose layout is entirely managed by a plugin.
Menu = 5
A popup or context menu.
InputMethod = 6
AKA “OSK” or handwriting etc.
Satellite = 7
AKA “toolbox”/“toolbar”
Tip = 8
AKA “tooltip”
Decoration = 9
A server-side window decoration surface.
Trait Implementations§
Source§impl Clone for WindowType
impl Clone for WindowType
Source§fn clone(&self) -> WindowType
fn clone(&self) -> WindowType
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 WindowType
impl Debug for WindowType
Source§impl Default for WindowType
impl Default for WindowType
Source§fn default() -> WindowType
fn default() -> WindowType
Returns the “default value” for a type. Read more
Source§impl Hash for WindowType
impl Hash for WindowType
Source§impl PartialEq for WindowType
impl PartialEq for WindowType
Source§impl TryFrom<u32> for WindowType
impl TryFrom<u32> for WindowType
impl Copy for WindowType
impl Eq for WindowType
impl StructuralPartialEq for WindowType
Auto Trait Implementations§
impl Freeze for WindowType
impl RefUnwindSafe for WindowType
impl Send for WindowType
impl Sync for WindowType
impl Unpin for WindowType
impl UnwindSafe for WindowType
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