Trait icu_datetime::scaffold::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 IslamicCivil: DataMarker<DataStruct = M::DataStruct>; type IslamicObservational: DataMarker<DataStruct = M::DataStruct>; type IslamicTabular: DataMarker<DataStruct = M::DataStruct>; type IslamicUmmAlQura: 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 YearNamesV1Marker.

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

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 IslamicCivil: DataMarker<DataStruct = M::DataStruct>

The type for an [IslamicCivil] calendar

source

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

The type for an [IslamicObservational] calendar

source

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

The type for an [IslamicTabular] calendar

source

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

The type for an [IslamicUmmAlQura] 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<MonthNamesV1Marker> for FullDataCalMarkers

source§

impl CalMarkers<YearNamesV1Marker> for FullDataCalMarkers

source§

impl CalMarkers<ErasedMarker<PackedPatternsV1<'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 IslamicCivil = NeverMarker<<M as DynamicDataMarker>::DataStruct>

source§

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

source§

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

source§

type IslamicUmmAlQura = 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>