pub struct TrayIconId(pub String);
Expand description
An unique id that is associated with a tray icon.
Tuple Fields§
§0: String
Implementations§
Trait Implementations§
Source§impl AsRef<str> for TrayIconId
impl AsRef<str> for TrayIconId
Source§impl Clone for TrayIconId
impl Clone for TrayIconId
Source§fn clone(&self) -> TrayIconId
fn clone(&self) -> TrayIconId
Returns a copy of the value. Read more
1.0.0 · 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 TrayIconId
impl Debug for TrayIconId
Source§impl Default for TrayIconId
impl Default for TrayIconId
Source§fn default() -> TrayIconId
fn default() -> TrayIconId
Returns the “default value” for a type. Read more
Source§impl<T: ToString> From<T> for TrayIconId
impl<T: ToString> From<T> for TrayIconId
Source§impl FromStr for TrayIconId
impl FromStr for TrayIconId
Source§impl Hash for TrayIconId
impl Hash for TrayIconId
Source§impl Ord for TrayIconId
impl Ord for TrayIconId
Source§fn cmp(&self, other: &TrayIconId) -> Ordering
fn cmp(&self, other: &TrayIconId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq<&String> for TrayIconId
impl PartialEq<&String> for TrayIconId
Source§impl PartialEq<&TrayIconId> for TrayIconId
impl PartialEq<&TrayIconId> for TrayIconId
Source§impl PartialEq<&str> for &TrayIconId
impl PartialEq<&str> for &TrayIconId
Source§impl PartialEq<&str> for TrayIconId
impl PartialEq<&str> for TrayIconId
Source§impl PartialEq<String> for &TrayIconId
impl PartialEq<String> for &TrayIconId
Source§impl PartialEq<String> for TrayIconId
impl PartialEq<String> for TrayIconId
Source§impl PartialEq for TrayIconId
impl PartialEq for TrayIconId
Source§impl PartialOrd for TrayIconId
impl PartialOrd for TrayIconId
impl Eq for TrayIconId
impl StructuralPartialEq for TrayIconId
Auto Trait Implementations§
impl Freeze for TrayIconId
impl RefUnwindSafe for TrayIconId
impl Send for TrayIconId
impl Sync for TrayIconId
impl Unpin for TrayIconId
impl UnwindSafe for TrayIconId
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