pub enum WeekendRoll {
None,
NearestWeekday,
}Expand description
Saturday→Friday, Sunday→Monday observance roll, US-style.
Variants§
Trait Implementations§
Source§impl Clone for WeekendRoll
impl Clone for WeekendRoll
Source§fn clone(&self) -> WeekendRoll
fn clone(&self) -> WeekendRoll
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 WeekendRoll
impl Debug for WeekendRoll
Source§impl PartialEq for WeekendRoll
impl PartialEq for WeekendRoll
Source§fn eq(&self, other: &WeekendRoll) -> bool
fn eq(&self, other: &WeekendRoll) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for WeekendRoll
impl Eq for WeekendRoll
impl StructuralPartialEq for WeekendRoll
Auto Trait Implementations§
impl Freeze for WeekendRoll
impl RefUnwindSafe for WeekendRoll
impl Send for WeekendRoll
impl Sync for WeekendRoll
impl Unpin for WeekendRoll
impl UnsafeUnpin for WeekendRoll
impl UnwindSafe for WeekendRoll
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