#[non_exhaustive]pub enum AnyDateInner {
Show 16 variants
Buddhist(<Buddhist as Calendar>::DateInner),
Chinese(<ChineseTraditional as Calendar>::DateInner),
Coptic(<Coptic as Calendar>::DateInner),
Dangi(<KoreanTraditional as Calendar>::DateInner),
Ethiopian(<Ethiopian as Calendar>::DateInner),
Gregorian(<Gregorian as Calendar>::DateInner),
Hebrew(<Hebrew as Calendar>::DateInner),
Indian(<Indian as Calendar>::DateInner),
HijriTabular(<Hijri<TabularAlgorithm> as Calendar>::DateInner, TabularAlgorithm),
HijriSimulated(<Hijri<AstronomicalSimulation> as Calendar>::DateInner),
HijriUmmAlQura(<Hijri<UmmAlQura> as Calendar>::DateInner),
Iso(<Iso as Calendar>::DateInner),
Japanese(<Japanese as Calendar>::DateInner),
JapaneseExtended(<JapaneseExtended as Calendar>::DateInner),
Persian(<Persian as Calendar>::DateInner),
Roc(<Roc as Calendar>::DateInner),
}Expand description
The inner date type for AnyCalendar
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Buddhist(<Buddhist as Calendar>::DateInner)
A date for a Buddhist calendar
Chinese(<ChineseTraditional as Calendar>::DateInner)
A date for a Chinese calendar
Coptic(<Coptic as Calendar>::DateInner)
A date for a Coptic calendar
Dangi(<KoreanTraditional as Calendar>::DateInner)
A date for a Dangi calendar
Ethiopian(<Ethiopian as Calendar>::DateInner)
A date for an Ethiopian calendar
Gregorian(<Gregorian as Calendar>::DateInner)
A date for a Gregorian calendar
Hebrew(<Hebrew as Calendar>::DateInner)
A date for a Hebrew calendar
Indian(<Indian as Calendar>::DateInner)
A date for an Indian calendar
HijriTabular(<Hijri<TabularAlgorithm> as Calendar>::DateInner, TabularAlgorithm)
A date for a HijriTabular calendar
HijriSimulated(<Hijri<AstronomicalSimulation> as Calendar>::DateInner)
A date for a HijriSimulated calendar
HijriUmmAlQura(<Hijri<UmmAlQura> as Calendar>::DateInner)
A date for a HijriUmmAlQura calendar
Iso(<Iso as Calendar>::DateInner)
A date for an Iso calendar
Japanese(<Japanese as Calendar>::DateInner)
A date for a Japanese calendar
JapaneseExtended(<JapaneseExtended as Calendar>::DateInner)
A date for a JapaneseExtended calendar
Persian(<Persian as Calendar>::DateInner)
A date for a Persian calendar
Roc(<Roc as Calendar>::DateInner)
A date for a Roc calendar
Trait Implementations§
Source§impl Clone for AnyDateInner
impl Clone for AnyDateInner
Source§fn clone(&self) -> AnyDateInner
fn clone(&self) -> AnyDateInner
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 AnyDateInner
impl Debug for AnyDateInner
Source§impl PartialEq for AnyDateInner
impl PartialEq for AnyDateInner
Source§fn eq(&self, other: &AnyDateInner) -> bool
fn eq(&self, other: &AnyDateInner) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AnyDateInner
impl PartialOrd for AnyDateInner
impl Copy for AnyDateInner
impl Eq for AnyDateInner
impl StructuralPartialEq for AnyDateInner
Auto Trait Implementations§
impl Freeze for AnyDateInner
impl RefUnwindSafe for AnyDateInner
impl Send for AnyDateInner
impl Sync for AnyDateInner
impl Unpin for AnyDateInner
impl UnsafeUnpin for AnyDateInner
impl UnwindSafe for AnyDateInner
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