pub enum DayKind {
Feast(ArcStr),
Sunday {
number: ArcStr,
season: ArcStr,
week_of_month: Option<u8>,
},
Feria {
day: ArcStr,
week: ArcStr,
season: ArcStr,
week_of_month: Option<u8>,
},
Unknown,
}Expand description
A small, best-effort classification of a day’s textual description. This is intentionally lightweight and only extracts the common patterns we need for Ordo resolution (Dominica / Sunday / Feria style names).
Variants§
Implementations§
Trait Implementations§
impl Eq for DayKind
impl StructuralPartialEq for DayKind
Auto Trait Implementations§
impl Freeze for DayKind
impl RefUnwindSafe for DayKind
impl Send for DayKind
impl Sync for DayKind
impl Unpin for DayKind
impl UnwindSafe for DayKind
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