pub enum YearType {
Deficient = -1,
Regular = 0,
Complete = 1,
}
Expand description
The type of year it is
Variants§
Deficient = -1
חסרה: both Ḥeshvan and Kislev have 29 days
Regular = 0
כסדרה: Ḥeshvan has 29, Kislev has 30
Complete = 1
שלמה: both Ḥeshvan and Kislev have 30 days
Trait Implementations§
source§impl Ord for YearType
impl Ord for YearType
source§impl PartialOrd for YearType
impl PartialOrd for YearType
impl Copy for YearType
impl Eq for YearType
impl StructuralPartialEq for YearType
Auto Trait Implementations§
impl Freeze for YearType
impl RefUnwindSafe for YearType
impl Send for YearType
impl Sync for YearType
impl Unpin for YearType
impl UnwindSafe for YearType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)