pub enum BreakDelivery {
Overlay,
Windowed,
Notification,
}Expand description
How a break surfaces to the user. Driven by per-kind settings
(micro_break_mode / long_break_mode).
Overlay: full-screen overlay that the user cannot click past.Windowed: same overlay sized to 80% of the monitor, desktop stays clickable.Notification: system notification only; no overlay, no countdown.
Variants§
Trait Implementations§
Source§impl Clone for BreakDelivery
impl Clone for BreakDelivery
Source§fn clone(&self) -> BreakDelivery
fn clone(&self) -> BreakDelivery
Returns a duplicate 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 BreakDelivery
impl Debug for BreakDelivery
Source§impl PartialEq for BreakDelivery
impl PartialEq for BreakDelivery
impl Copy for BreakDelivery
impl Eq for BreakDelivery
impl StructuralPartialEq for BreakDelivery
Auto Trait Implementations§
impl Freeze for BreakDelivery
impl RefUnwindSafe for BreakDelivery
impl Send for BreakDelivery
impl Sync for BreakDelivery
impl Unpin for BreakDelivery
impl UnsafeUnpin for BreakDelivery
impl UnwindSafe for BreakDelivery
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.