pub struct LauncherProps {
pub count: Option<i64>,
pub progress: Option<f64>,
pub urgent: Option<bool>,
}Expand description
The launcher state to show. Each update states all of it: None hides the count or the
progress bar and clears urgency.
Fields§
§count: Option<i64>The badge number.
progress: Option<f64>Progress from 0.0 to 1.0 (clamped).
urgent: Option<bool>Whether the icon asks for attention.
Trait Implementations§
Source§impl Clone for LauncherProps
impl Clone for LauncherProps
impl Copy for LauncherProps
Source§impl Debug for LauncherProps
impl Debug for LauncherProps
Source§impl Default for LauncherProps
impl Default for LauncherProps
Source§impl PartialEq for LauncherProps
impl PartialEq for LauncherProps
impl StructuralPartialEq for LauncherProps
Auto Trait Implementations§
impl Forget for LauncherProps
impl Freeze for LauncherProps
impl Move for LauncherProps
impl RefUnwindSafe for LauncherProps
impl Send for LauncherProps
impl Sync for LauncherProps
impl Unpin for LauncherProps
impl UnsafeUnpin for LauncherProps
impl UnwindSafe for LauncherProps
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