pub enum WindowStyle {
Show 54 variants
AcceptFiles,
AppWindow,
ClientEdge,
Composited,
ContextHelp,
ControlParent,
DlgModalFrame,
Layered,
LayoutRtl,
Left,
LeftScrollBar,
LtrReading,
MdiChild,
NoActivate,
NoInheritLayout,
NoParentNotify,
NoRedirectionBitmap,
ExOverlappedWindow,
WindowEdge,
PaletteWindow,
ToolWindow,
TopMost,
Right,
RightScrollBar,
RtlReading,
StaticEdge,
Transparent,
ChildWindow,
ClipChildren,
ClipSiblings,
Disabled,
DlgFrame,
Group,
HScroll,
Maximize,
Minimize,
Iconic,
Child,
Popup,
Border,
PopupWindow,
TabStop,
SizeBox,
Tiled,
TiledWindow,
Overlapped,
Caption,
SysMenu,
ThickFrame,
MinimizeBox,
MaximizeBox,
OverlappedWindow,
Visible,
VScroll,
}Expand description
参考 WIN32 窗口样式 及 WIN32 扩展窗口样式
Variants§
AcceptFiles
AppWindow
ClientEdge
Composited
ContextHelp
ControlParent
DlgModalFrame
Layered
LayoutRtl
Left
LeftScrollBar
LtrReading
MdiChild
NoActivate
NoInheritLayout
NoParentNotify
NoRedirectionBitmap
ExOverlappedWindow
WindowEdge
PaletteWindow
ToolWindow
TopMost
Right
RightScrollBar
RtlReading
StaticEdge
Transparent
ChildWindow
ClipChildren
ClipSiblings
Disabled
DlgFrame
Group
HScroll
Maximize
Minimize
Iconic
Child
Popup
Border
PopupWindow
TabStop
SizeBox
Tiled
TiledWindow
Overlapped
Caption
SysMenu
ThickFrame
MinimizeBox
MaximizeBox
OverlappedWindow
Visible
VScroll
Trait Implementations§
Source§impl Clone for WindowStyle
impl Clone for WindowStyle
Source§fn clone(&self) -> WindowStyle
fn clone(&self) -> WindowStyle
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 WindowStyle
impl Debug for WindowStyle
Source§impl Hash for WindowStyle
impl Hash for WindowStyle
Source§impl Ord for WindowStyle
impl Ord for WindowStyle
Source§fn cmp(&self, other: &WindowStyle) -> Ordering
fn cmp(&self, other: &WindowStyle) -> Ordering
1.21.0 · 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 WindowStyle
impl PartialEq for WindowStyle
Source§impl PartialOrd for WindowStyle
impl PartialOrd for WindowStyle
impl Copy for WindowStyle
impl Eq for WindowStyle
impl StructuralPartialEq for WindowStyle
Auto Trait Implementations§
impl Freeze for WindowStyle
impl RefUnwindSafe for WindowStyle
impl Send for WindowStyle
impl Sync for WindowStyle
impl Unpin for WindowStyle
impl UnwindSafe for WindowStyle
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