icu_datetime::scaffold

Trait TypedDateDataMarkers

Source
pub trait TypedDateDataMarkers<C>: UnstableSealed {
    type DateSkeletonPatternsV1: DataMarker<DataStruct = PackedPatterns<'static>>;
    type YearNamesV1: DataMarker<DataStruct = YearNames<'static>>;
    type MonthNamesV1: DataMarker<DataStruct = MonthNames<'static>>;
    type WeekdayNamesV1: DataMarker<DataStruct = LinearNames<'static>>;
}
Expand description

A trait associating types for date formatting in a specific calendar (data markers only).

This is a sealed trait implemented on field set markers.

🚧 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 DateSkeletonPatternsV1: DataMarker<DataStruct = PackedPatterns<'static>>

Marker for loading date skeleton patterns.

Source

type YearNamesV1: DataMarker<DataStruct = YearNames<'static>>

Marker for loading year names.

Source

type MonthNamesV1: DataMarker<DataStruct = MonthNames<'static>>

Marker for loading month names.

Source

type WeekdayNamesV1: DataMarker<DataStruct = LinearNames<'static>>

Marker for loading weekday names.

Implementations on Foreign Types§

Source§

impl<C> TypedDateDataMarkers<C> for ()

Source§

type DateSkeletonPatternsV1 = NeverMarker<PackedPatterns<'static>>

Source§

type YearNamesV1 = NeverMarker<YearNames<'static>>

Source§

type MonthNamesV1 = NeverMarker<MonthNames<'static>>

Source§

type WeekdayNamesV1 = NeverMarker<LinearNames<'static>>

Implementors§

Source§

impl<C: CldrCalendar> TypedDateDataMarkers<C> for CalendarPeriodFieldSet

Source§

impl<C: CldrCalendar> TypedDateDataMarkers<C> for DateFieldSet

Source§

impl<C: CldrCalendar> TypedDateDataMarkers<C> for D

Source§

type DateSkeletonPatternsV1 = <C as CldrCalendar>::SkeletaV1

Source§

type YearNamesV1 = NeverMarker<YearNames<'static>>

Source§

type MonthNamesV1 = NeverMarker<MonthNames<'static>>

Source§

type WeekdayNamesV1 = NeverMarker<LinearNames<'static>>

Source§

impl<C: CldrCalendar> TypedDateDataMarkers<C> for DE

Source§

impl<C: CldrCalendar> TypedDateDataMarkers<C> for DET

Source§

impl<C: CldrCalendar> TypedDateDataMarkers<C> for DT

Source§

type DateSkeletonPatternsV1 = <C as CldrCalendar>::SkeletaV1

Source§

type YearNamesV1 = NeverMarker<YearNames<'static>>

Source§

type MonthNamesV1 = NeverMarker<MonthNames<'static>>

Source§

type WeekdayNamesV1 = NeverMarker<LinearNames<'static>>

Source§

impl<C: CldrCalendar> TypedDateDataMarkers<C> for E

Source§

impl<C: CldrCalendar> TypedDateDataMarkers<C> for ET

Source§

impl<C: CldrCalendar> TypedDateDataMarkers<C> for M

Source§

impl<C: CldrCalendar> TypedDateDataMarkers<C> for MD

Source§

impl<C: CldrCalendar> TypedDateDataMarkers<C> for MDE

Source§

impl<C: CldrCalendar> TypedDateDataMarkers<C> for MDET

Source§

impl<C: CldrCalendar> TypedDateDataMarkers<C> for MDT

Source§

impl<C: CldrCalendar> TypedDateDataMarkers<C> for Y

Source§

impl<C: CldrCalendar> TypedDateDataMarkers<C> for YM

Source§

impl<C: CldrCalendar> TypedDateDataMarkers<C> for YMD

Source§

impl<C: CldrCalendar> TypedDateDataMarkers<C> for YMDE

Source§

impl<C: CldrCalendar> TypedDateDataMarkers<C> for YMDET

Source§

impl<C: CldrCalendar> TypedDateDataMarkers<C> for YMDT