pub enum CasualDateType {
Now,
Today,
Tonight,
Tomorrow,
Yesterday,
Overmorrow,
DayBeforeYesterday,
ThisMorning,
ThisAfternoon,
ThisEvening,
}Expand description
Locale-independent categories of casual date expressions.
Variants§
Now
Immediate current instant.
Today
Current day.
Tonight
Current night.
Tomorrow
Following day.
Yesterday
Previous day.
Overmorrow
Day after tomorrow.
DayBeforeYesterday
Day before yesterday.
ThisMorning
Morning of the current day.
ThisAfternoon
Afternoon of the current day.
ThisEvening
Evening of the current day.
Trait Implementations§
Source§impl Clone for CasualDateType
impl Clone for CasualDateType
Source§fn clone(&self) -> CasualDateType
fn clone(&self) -> CasualDateType
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 CasualDateType
impl Debug for CasualDateType
Source§impl PartialEq for CasualDateType
impl PartialEq for CasualDateType
impl Copy for CasualDateType
impl Eq for CasualDateType
impl StructuralPartialEq for CasualDateType
Auto Trait Implementations§
impl Freeze for CasualDateType
impl RefUnwindSafe for CasualDateType
impl Send for CasualDateType
impl Sync for CasualDateType
impl Unpin for CasualDateType
impl UnsafeUnpin for CasualDateType
impl UnwindSafe for CasualDateType
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