#[non_exhaustive]pub enum HeaderItemContent {
SystemItem(HeaderSystemItem),
Symbol(Arc<str>),
Label(Arc<str>),
SymbolTitle {
symbol: Arc<str>,
title: Arc<str>,
},
}Expand description
What an iOS bar button shows (ios={{ headerLeftItems }}, ios={{ headerRightItems }}): a system item, an SF Symbol, a text label, or an
SF Symbol with a title next to it.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SystemItem(HeaderSystemItem)
Symbol(Arc<str>)
An SF Symbol’s name.
Label(Arc<str>)
A text title on the button.
SymbolTitle
An SF Symbol (its name) and a title after it, in one button
({ symbol, title }).
Trait Implementations§
Source§impl Clone for HeaderItemContent
impl Clone for HeaderItemContent
Source§impl Debug for HeaderItemContent
impl Debug for HeaderItemContent
impl Eq for HeaderItemContent
Source§impl PartialEq for HeaderItemContent
impl PartialEq for HeaderItemContent
impl StructuralPartialEq for HeaderItemContent
Auto Trait Implementations§
impl Forget for HeaderItemContent
impl Freeze for HeaderItemContent
impl Move for HeaderItemContent
impl RefUnwindSafe for HeaderItemContent
impl Send for HeaderItemContent
impl Sync for HeaderItemContent
impl Unpin for HeaderItemContent
impl UnsafeUnpin for HeaderItemContent
impl UnwindSafe for HeaderItemContent
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