#[repr(i64)]pub enum NSWindowToolbarStyle {
Automatic = 0,
Expanded = 1,
Preference = 2,
Unified = 3,
UnifiedCompact = 4,
}
Expand description
Styles that determine the appearance and location of the toolbar in relation to the title bar.
Variants§
Automatic = 0
A style indicating that the system determines the toolbar’s appearance and location.
Expanded = 1
A style indicating that the toolbar appears below the window title.
Preference = 2
A style indicating that the toolbar appears below the window title with toolbar items centered in the toolbar.
Unified = 3
A style indicating that the toolbar appears next to the window title.
UnifiedCompact = 4
A style indicating that the toolbar appears next to the window title and with reduced margins to allow more focus on the window’s contents.
Trait Implementations§
Source§impl Clone for NSWindowToolbarStyle
impl Clone for NSWindowToolbarStyle
Source§fn clone(&self) -> NSWindowToolbarStyle
fn clone(&self) -> NSWindowToolbarStyle
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NSWindowToolbarStyle
impl Debug for NSWindowToolbarStyle
Source§impl PartialEq for NSWindowToolbarStyle
impl PartialEq for NSWindowToolbarStyle
impl Copy for NSWindowToolbarStyle
impl Eq for NSWindowToolbarStyle
impl StructuralPartialEq for NSWindowToolbarStyle
Auto Trait Implementations§
impl Freeze for NSWindowToolbarStyle
impl RefUnwindSafe for NSWindowToolbarStyle
impl Send for NSWindowToolbarStyle
impl Sync for NSWindowToolbarStyle
impl Unpin for NSWindowToolbarStyle
impl UnwindSafe for NSWindowToolbarStyle
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