pub enum WindowStyle {
Borderless,
Titled,
Closable,
Miniaturizable,
Resizable,
UnifiedTitleAndToolbar,
FullScreen,
FullSizeContentView,
Utility,
DocModalWindow,
NonActivatingPanel,
HUDWindow,
}
Available on crate feature
appkit
only.Expand description
Describes window styles that can be displayed.
Variants
Borderless
Window has no border. You generally do not want this.
Titled
Window supports title.
Closable
Window is closable.
Miniaturizable
Window can be shrunk.
Resizable
Window can be resized.
UnifiedTitleAndToolbar
Window does not separate area between title and toolbar.
FullScreen
Window is full screen.
FullSizeContentView
Window does not buffer content view below title/toolbar.
Utility
Utility window.
DocModalWindow
Modal window for doc.
NonActivatingPanel
Non-activating panel.
HUDWindow
A HUD window.
Trait Implementations
sourceimpl Clone for WindowStyle
impl Clone for WindowStyle
sourcefn clone(&self) -> WindowStyle
fn clone(&self) -> WindowStyle
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WindowStyle
impl Debug for WindowStyle
sourceimpl From<&WindowStyle> for NSUInteger
impl From<&WindowStyle> for NSUInteger
sourcefn from(style: &WindowStyle) -> Self
fn from(style: &WindowStyle) -> Self
Converts to this type from the input type.
sourceimpl From<WindowStyle> for NSUInteger
impl From<WindowStyle> for NSUInteger
sourcefn from(style: WindowStyle) -> Self
fn from(style: WindowStyle) -> Self
Converts to this type from the input type.
impl Copy for WindowStyle
Auto Trait Implementations
impl RefUnwindSafe for WindowStyle
impl Send for WindowStyle
impl Sync for WindowStyle
impl Unpin for WindowStyle
impl UnwindSafe for WindowStyle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more