icu_datetime::scaffold

Trait CalMarkers

Source
pub trait CalMarkers<M>: UnstableSealed
where M: DynamicDataMarker,
{
Show 17 associated items type Buddhist: DataMarker<DataStruct = M::DataStruct>; type Chinese: DataMarker<DataStruct = M::DataStruct>; type Coptic: DataMarker<DataStruct = M::DataStruct>; type Dangi: DataMarker<DataStruct = M::DataStruct>; type Ethiopian: DataMarker<DataStruct = M::DataStruct>; type EthiopianAmeteAlem: DataMarker<DataStruct = M::DataStruct>; type Gregorian: DataMarker<DataStruct = M::DataStruct>; type Hebrew: DataMarker<DataStruct = M::DataStruct>; type Indian: DataMarker<DataStruct = M::DataStruct>; type HijriCivil: DataMarker<DataStruct = M::DataStruct>; type HijriObservational: DataMarker<DataStruct = M::DataStruct>; type HijriTabular: DataMarker<DataStruct = M::DataStruct>; type HijriUmmAlQura: DataMarker<DataStruct = M::DataStruct>; type Japanese: DataMarker<DataStruct = M::DataStruct>; type JapaneseExtended: DataMarker<DataStruct = M::DataStruct>; type Persian: DataMarker<DataStruct = M::DataStruct>; type Roc: DataMarker<DataStruct = M::DataStruct>;
}
Expand description

A collection of marker types associated with all calendars.

This is used to group together the calendar-specific marker types that produce a common [DynamicDataMarker]. For example, this trait can be implemented for YearNamesV1.

This trait serves as a building block for a cross-calendar [BoundDataProvider].

🚧 This trait is considered unstable; it may change at any time, in breaking or non-breaking ways, including in SemVer minor releases. Do not implement this trait in userland unless you are prepared for things to occasionally break.

Required Associated Types§

Source

type Buddhist: DataMarker<DataStruct = M::DataStruct>

The type for a [Buddhist] calendar

Source

type Chinese: DataMarker<DataStruct = M::DataStruct>

The type for a [Chinese] calendar

Source

type Coptic: DataMarker<DataStruct = M::DataStruct>

The type for a [Coptic] calendar

Source

type Dangi: DataMarker<DataStruct = M::DataStruct>

The type for a [Dangi] calendar

Source

type Ethiopian: DataMarker<DataStruct = M::DataStruct>

The type for an [Ethiopian] calendar, with Amete Mihret era

Source

type EthiopianAmeteAlem: DataMarker<DataStruct = M::DataStruct>

The type for an [Ethiopian] calendar, with Amete Alem era

Source

type Gregorian: DataMarker<DataStruct = M::DataStruct>

The type for a [Gregorian] calendar

Source

type Hebrew: DataMarker<DataStruct = M::DataStruct>

The type for a [Hebrew] calendar

Source

type Indian: DataMarker<DataStruct = M::DataStruct>

The type for a [Indian] calendar

Source

type HijriCivil: DataMarker<DataStruct = M::DataStruct>

The type for an [HijriCivil] calendar

Source

type HijriObservational: DataMarker<DataStruct = M::DataStruct>

The type for an [HijriObservational] calendar

Source

type HijriTabular: DataMarker<DataStruct = M::DataStruct>

The type for an [HijriTabular] calendar

Source

type HijriUmmAlQura: DataMarker<DataStruct = M::DataStruct>

The type for an [HijriUmmAlQura] calendar

Source

type Japanese: DataMarker<DataStruct = M::DataStruct>

The type for a [Japanese] calendar

Source

type JapaneseExtended: DataMarker<DataStruct = M::DataStruct>

The type for a [JapaneseExtended] calendar

Source

type Persian: DataMarker<DataStruct = M::DataStruct>

The type for a [Persian] calendar

Source

type Roc: DataMarker<DataStruct = M::DataStruct>

The type for a [Roc] calendar

Implementors§

Source§

impl CalMarkers<MonthNamesV1> for FullDataCalMarkers

Source§

impl CalMarkers<YearNamesV1> for FullDataCalMarkers

Source§

impl CalMarkers<ErasedMarker<PackedPatterns<'static>>> for FullDataCalMarkers

Source§

impl<M> CalMarkers<M> for NoDataCalMarkers
where M: DynamicDataMarker,

Source§

type Buddhist = NeverMarker<<M as DynamicDataMarker>::DataStruct>

Source§

type Chinese = NeverMarker<<M as DynamicDataMarker>::DataStruct>

Source§

type Coptic = NeverMarker<<M as DynamicDataMarker>::DataStruct>

Source§

type Dangi = NeverMarker<<M as DynamicDataMarker>::DataStruct>

Source§

type Ethiopian = NeverMarker<<M as DynamicDataMarker>::DataStruct>

Source§

type EthiopianAmeteAlem = NeverMarker<<M as DynamicDataMarker>::DataStruct>

Source§

type Gregorian = NeverMarker<<M as DynamicDataMarker>::DataStruct>

Source§

type Hebrew = NeverMarker<<M as DynamicDataMarker>::DataStruct>

Source§

type Indian = NeverMarker<<M as DynamicDataMarker>::DataStruct>

Source§

type HijriCivil = NeverMarker<<M as DynamicDataMarker>::DataStruct>

Source§

type HijriObservational = NeverMarker<<M as DynamicDataMarker>::DataStruct>

Source§

type HijriTabular = NeverMarker<<M as DynamicDataMarker>::DataStruct>

Source§

type HijriUmmAlQura = NeverMarker<<M as DynamicDataMarker>::DataStruct>

Source§

type Japanese = NeverMarker<<M as DynamicDataMarker>::DataStruct>

Source§

type JapaneseExtended = NeverMarker<<M as DynamicDataMarker>::DataStruct>

Source§

type Persian = NeverMarker<<M as DynamicDataMarker>::DataStruct>

Source§

type Roc = NeverMarker<<M as DynamicDataMarker>::DataStruct>