#[repr(transparent)]pub struct UIBarButtonItemStyle(pub NSInteger);UIBarButtonItem only.Expand description
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl UIBarButtonItemStyle
impl UIBarButtonItemStyle
pub const Plain: Self
Sourcepub const Prominent: Self
pub const Prominent: Self
A button item style for a prominent button.
For example, use this for a button that completes or finalizes some task. Buttons with this style will not be visually grouped with other items in a navigation bar or toolbar, and will also have other styling changes appropriate to their context to indicate their prominence.
Sourcepub const Bordered: Self
👎Deprecated
pub const Bordered: Self
A button item style for a prominent button.
For example, use this for a button that completes or finalizes some task. Buttons with this style will not be visually grouped with other items in a navigation bar or toolbar, and will also have other styling changes appropriate to their context to indicate their prominence.
Sourcepub const Done: Self
👎Deprecated
pub const Done: Self
A button item style for a prominent button.
For example, use this for a button that completes or finalizes some task. Buttons with this style will not be visually grouped with other items in a navigation bar or toolbar, and will also have other styling changes appropriate to their context to indicate their prominence.
Trait Implementations§
Source§impl Clone for UIBarButtonItemStyle
impl Clone for UIBarButtonItemStyle
Source§fn clone(&self) -> UIBarButtonItemStyle
fn clone(&self) -> UIBarButtonItemStyle
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for UIBarButtonItemStyle
impl Debug for UIBarButtonItemStyle
Source§impl Encode for UIBarButtonItemStyle
impl Encode for UIBarButtonItemStyle
Source§impl Hash for UIBarButtonItemStyle
impl Hash for UIBarButtonItemStyle
Source§impl Ord for UIBarButtonItemStyle
impl Ord for UIBarButtonItemStyle
Source§fn cmp(&self, other: &UIBarButtonItemStyle) -> Ordering
fn cmp(&self, other: &UIBarButtonItemStyle) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for UIBarButtonItemStyle
impl PartialEq for UIBarButtonItemStyle
Source§fn eq(&self, other: &UIBarButtonItemStyle) -> bool
fn eq(&self, other: &UIBarButtonItemStyle) -> bool
self and other values to be equal, and is used by ==.