pub enum SpecialWord {
Now,
Yesterday,
Today,
Tomorrow,
DayBeforeYesterday,
DayAfterTomorrow,
}Expand description
Special standalone time words that map to a fixed offset from “now”.
Variants§
Trait Implementations§
Source§impl Clone for SpecialWord
impl Clone for SpecialWord
Source§fn clone(&self) -> SpecialWord
fn clone(&self) -> SpecialWord
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 SpecialWord
impl Debug for SpecialWord
Source§impl PartialEq for SpecialWord
impl PartialEq for SpecialWord
Source§fn eq(&self, other: &SpecialWord) -> bool
fn eq(&self, other: &SpecialWord) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SpecialWord
impl Eq for SpecialWord
impl StructuralPartialEq for SpecialWord
Auto Trait Implementations§
impl Freeze for SpecialWord
impl RefUnwindSafe for SpecialWord
impl Send for SpecialWord
impl Sync for SpecialWord
impl Unpin for SpecialWord
impl UnsafeUnpin for SpecialWord
impl UnwindSafe for SpecialWord
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