pub enum ToolbarDisplayMode {
Default,
IconAndLabel,
IconOnly,
LabelOnly,
}
Available on crate feature
appkit
only.Expand description
Represents the display mode(s) a Toolbar can render in.
Variants
Default
The default display mode.
IconAndLabel
Show icon and label.
IconOnly
Show icon only.
LabelOnly
Show label only.
Trait Implementations
sourceimpl Clone for ToolbarDisplayMode
impl Clone for ToolbarDisplayMode
sourcefn clone(&self) -> ToolbarDisplayMode
fn clone(&self) -> ToolbarDisplayMode
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 ToolbarDisplayMode
impl Debug for ToolbarDisplayMode
sourceimpl From<ToolbarDisplayMode> for NSUInteger
impl From<ToolbarDisplayMode> for NSUInteger
sourcefn from(mode: ToolbarDisplayMode) -> Self
fn from(mode: ToolbarDisplayMode) -> Self
Converts to this type from the input type.
impl Copy for ToolbarDisplayMode
Auto Trait Implementations
impl RefUnwindSafe for ToolbarDisplayMode
impl Send for ToolbarDisplayMode
impl Sync for ToolbarDisplayMode
impl Unpin for ToolbarDisplayMode
impl UnwindSafe for ToolbarDisplayMode
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