Enum icu_calendar::any_calendar::AnyDateInner
source · #[non_exhaustive]
pub enum AnyDateInner {
Gregorian(<Gregorian as Calendar>::DateInner),
Buddhist(<Buddhist as Calendar>::DateInner),
Japanese(<Japanese as Calendar>::DateInner),
JapaneseExtended(<JapaneseExtended as Calendar>::DateInner),
Ethiopian(<Ethiopian as Calendar>::DateInner),
Indian(<Indian as Calendar>::DateInner),
Coptic(<Coptic as Calendar>::DateInner),
Iso(<Iso 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.
Gregorian(<Gregorian as Calendar>::DateInner)
A date for a Gregorian
calendar
Buddhist(<Buddhist as Calendar>::DateInner)
A date for a Buddhist
calendar
Japanese(<Japanese as Calendar>::DateInner)
A date for a Japanese
calendar
JapaneseExtended(<JapaneseExtended as Calendar>::DateInner)
A date for a JapaneseExtended
calendar
Ethiopian(<Ethiopian as Calendar>::DateInner)
A date for an Ethiopian
calendar
Indian(<Indian as Calendar>::DateInner)
A date for an Indian
calendar
Coptic(<Coptic as Calendar>::DateInner)
A date for a Coptic
calendar
Iso(<Iso as Calendar>::DateInner)
A date for an Iso
calendar
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<AnyDateInner> for AnyDateInner
impl PartialEq<AnyDateInner> 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 ==
.