pub struct AccessoryItem {
pub id: String,
pub sf_symbol: Option<String>,
pub image: Option<String>,
}Expand description
A standalone account button floated beside the bar (Apple Music
search-button style). image (base64 / data URL) wins over sf_symbol.
Fields§
§id: StringStable id reported back in tabSelected events when tapped.
sf_symbol: Option<String>§image: Option<String>Trait Implementations§
Source§impl Clone for AccessoryItem
impl Clone for AccessoryItem
Source§fn clone(&self) -> AccessoryItem
fn clone(&self) -> AccessoryItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AccessoryItem
impl Debug for AccessoryItem
Source§impl<'de> Deserialize<'de> for AccessoryItem
impl<'de> Deserialize<'de> for AccessoryItem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AccessoryItem
impl RefUnwindSafe for AccessoryItem
impl Send for AccessoryItem
impl Sync for AccessoryItem
impl Unpin for AccessoryItem
impl UnsafeUnpin for AccessoryItem
impl UnwindSafe for AccessoryItem
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