pub enum ResetFormat {
Duration,
Absolute(AbsoluteFormat),
Progress,
}Expand description
Config-driven rendering format for the reset segments. Duration
is the existing "4h12m" countdown; Absolute is the
ccstatusline-parity "7:00 PM PT" wall-clock variant; Progress
is the existing progress bar.
Variants§
Trait Implementations§
Source§impl Clone for ResetFormat
impl Clone for ResetFormat
Source§fn clone(&self) -> ResetFormat
fn clone(&self) -> ResetFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResetFormat
impl Debug for ResetFormat
Source§impl PartialEq for ResetFormat
impl PartialEq for ResetFormat
Source§fn eq(&self, other: &ResetFormat) -> bool
fn eq(&self, other: &ResetFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ResetFormat
impl StructuralPartialEq for ResetFormat
Auto Trait Implementations§
impl Freeze for ResetFormat
impl RefUnwindSafe for ResetFormat
impl Send for ResetFormat
impl Sync for ResetFormat
impl Unpin for ResetFormat
impl UnsafeUnpin for ResetFormat
impl UnwindSafe for ResetFormat
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.