pub enum ResolveDirection {
IntoFuture,
IntoPast,
}Expand description
If the desired day cannot be resolved, should we find the next day into the future that satisfies the requirement, or the day into the past.
Variants§
IntoFuture
Resolve by looking forward into the future for the next valid day
IntoPast
Resolve by looking back into the past for the next valid day
Trait Implementations§
Source§impl Clone for ResolveDirection
impl Clone for ResolveDirection
Source§fn clone(&self) -> ResolveDirection
fn clone(&self) -> ResolveDirection
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 ResolveDirection
impl Debug for ResolveDirection
impl Copy for ResolveDirection
Auto Trait Implementations§
impl Freeze for ResolveDirection
impl RefUnwindSafe for ResolveDirection
impl Send for ResolveDirection
impl Sync for ResolveDirection
impl Unpin for ResolveDirection
impl UnwindSafe for ResolveDirection
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