Enum icu_calendar::any_calendar::AnyDateInner
source · #[non_exhaustive]pub enum AnyDateInner {
Show 17 variants
Buddhist(<Buddhist as Calendar>::DateInner),
Chinese(<Chinese as Calendar>::DateInner),
Coptic(<Coptic as Calendar>::DateInner),
Dangi(<Dangi as Calendar>::DateInner),
Ethiopian(<Ethiopian as Calendar>::DateInner),
Gregorian(<Gregorian as Calendar>::DateInner),
Hebrew(<Hebrew as Calendar>::DateInner),
Indian(<Indian as Calendar>::DateInner),
IslamicCivil(<IslamicCivil as Calendar>::DateInner),
IslamicObservational(<IslamicObservational as Calendar>::DateInner),
IslamicTabular(<IslamicTabular as Calendar>::DateInner),
IslamicUmmAlQura(<IslamicUmmAlQura 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(<Chinese as Calendar>::DateInner)
A date for a Chinese
calendar
Coptic(<Coptic as Calendar>::DateInner)
A date for a Coptic
calendar
Dangi(<Dangi 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
IslamicCivil(<IslamicCivil as Calendar>::DateInner)
A date for an IslamicCivil
calendar
IslamicObservational(<IslamicObservational as Calendar>::DateInner)
A date for an IslamicObservational
calendar
IslamicTabular(<IslamicTabular as Calendar>::DateInner)
A date for an IslamicTabular
calendar
IslamicUmmAlQura(<IslamicUmmAlQura as Calendar>::DateInner)
A date for an IslamicUmmAlQura
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
Implementations§
source§impl AnyDateInner
impl AnyDateInner
fn kind(&self) -> AnyCalendarKind
Trait Implementations§
source§impl Clone for AnyDateInner
impl Clone for AnyDateInner
source§fn clone(&self) -> AnyDateInner
fn clone(&self) -> AnyDateInner
Returns a copy of the value. Read more
1.0.0 · 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
This method tests for
self
and other
values to be equal, and is used
by ==
.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 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