pub enum CasualTimeType {
Noon,
Midnight,
Morning,
Afternoon,
Evening,
Night,
}Expand description
Locale-independent categories of casual time expressions.
Variants§
Noon
Around 12:00 PM.
Midnight
Around 12:00 AM.
Morning
Morning period.
Afternoon
Afternoon period.
Evening
Evening period.
Night
Night period.
Trait Implementations§
Source§impl Clone for CasualTimeType
impl Clone for CasualTimeType
Source§fn clone(&self) -> CasualTimeType
fn clone(&self) -> CasualTimeType
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 CasualTimeType
impl Debug for CasualTimeType
Source§impl PartialEq for CasualTimeType
impl PartialEq for CasualTimeType
impl Copy for CasualTimeType
impl Eq for CasualTimeType
impl StructuralPartialEq for CasualTimeType
Auto Trait Implementations§
impl Freeze for CasualTimeType
impl RefUnwindSafe for CasualTimeType
impl Send for CasualTimeType
impl Sync for CasualTimeType
impl Unpin for CasualTimeType
impl UnsafeUnpin for CasualTimeType
impl UnwindSafe for CasualTimeType
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