pub enum LabelMode {
Long,
Short,
}Expand description
Label length mode. Long is the default reader-friendly form
(today, tomorrow, overdue 2d); Short compresses to the
terminal-friendly abbreviations matching joy-cli short mode
(tod, tmw, -2d). Weekday and month-day renderings are the
same in both modes because %a and %b %-d are already compact.
Variants§
Trait Implementations§
impl Copy for LabelMode
impl Eq for LabelMode
impl StructuralPartialEq for LabelMode
Auto Trait Implementations§
impl Freeze for LabelMode
impl RefUnwindSafe for LabelMode
impl Send for LabelMode
impl Sync for LabelMode
impl Unpin for LabelMode
impl UnsafeUnpin for LabelMode
impl UnwindSafe for LabelMode
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.