#[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
Gloss = 3
Freestyle = 4
Menu = 5
InputMethod = 6
AKA “OSK” or handwriting etc.
Satellite = 7
AKA “toolbox”/“toolbar”
Tip = 8
AKA “tooltip”
Decoration = 9
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 From<WindowType> for MirWindowType
impl From<WindowType> for MirWindowType
Source§fn from(value: WindowType) -> Self
fn from(value: WindowType) -> Self
Converts to this type from the input type.
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 UnsafeUnpin 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