pub enum Cadence {
Activity,
}Expand description
How often a repeating mark repeats.
Variants§
Activity
How long the activity mark holds each of its two states.
The mark says something is happening on a wait with no countable size
(makeover-layout’s Awaiting). A half-period, not a cycle: lit
for 500ms, dark for 500ms, so a full cycle is a second.
For waits with nothing to watch. Where the activity is observable, the mark follows it instead (an upload blinks per chunk delivered).
Implementations§
Trait Implementations§
impl Copy for Cadence
impl Eq for Cadence
Source§impl Ord for Cadence
impl Ord for Cadence
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Cadence
impl PartialOrd for Cadence
impl StructuralPartialEq for Cadence
Auto Trait Implementations§
impl Forget for Cadence
impl Freeze for Cadence
impl Move for Cadence
impl RefUnwindSafe for Cadence
impl Send for Cadence
impl Sync for Cadence
impl Unpin for Cadence
impl UnsafeUnpin for Cadence
impl UnwindSafe for Cadence
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