pub enum RuleDay {
Julian1WithoutLeap(Julian1WithoutLeap),
Julian0WithLeap(Julian0WithLeap),
MonthWeekDay(MonthWeekDay),
}
Expand description
Transition rule day
Variants§
Julian1WithoutLeap(Julian1WithoutLeap)
Julian day in [1, 365]
, without taking occasional February 29th into account, which is not referenceable
Julian0WithLeap(Julian0WithLeap)
Zero-based Julian day in [0, 365]
, taking occasional February 29th into account and allowing December 32nd
MonthWeekDay(MonthWeekDay)
Day represented by a month, a month week and a week day
Trait Implementations§
impl Copy for RuleDay
impl Eq for RuleDay
impl StructuralPartialEq for RuleDay
Auto Trait Implementations§
impl Freeze for RuleDay
impl RefUnwindSafe for RuleDay
impl Send for RuleDay
impl Sync for RuleDay
impl Unpin for RuleDay
impl UnwindSafe for RuleDay
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