pub enum TrayBadge {
None,
Attention,
Count(u32),
}Expand description
What the tray icon signals without the user clicking.
Variants§
None
Attention
A simple red dot — “something needs your attention”.
Count(u32)
A count, e.g. unread notifications or active alerts.
Trait Implementations§
impl Copy for TrayBadge
impl Eq for TrayBadge
impl StructuralPartialEq for TrayBadge
Auto Trait Implementations§
impl Freeze for TrayBadge
impl RefUnwindSafe for TrayBadge
impl Send for TrayBadge
impl Sync for TrayBadge
impl Unpin for TrayBadge
impl UnsafeUnpin for TrayBadge
impl UnwindSafe for TrayBadge
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