Trait DateDataMarkers

Source
pub trait DateDataMarkers: UnstableSealed {
    type Skel: CalMarkers<ErasedMarker<PackedPatterns<'static>>>;
    type Year: CalMarkers<YearNamesV1>;
    type Month: CalMarkers<MonthNamesV1>;
    type WeekdayNamesV1: DataMarker<DataStruct = LinearNames<'static>>;
}
Expand description

A trait associating types for date formatting in any 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 Skel: CalMarkers<ErasedMarker<PackedPatterns<'static>>>

Cross-calendar data markers for date skeleta.

Source

type Year: CalMarkers<YearNamesV1>

Cross-calendar data markers for year names.

Source

type Month: CalMarkers<MonthNamesV1>

Cross-calendar data markers for month names.

Source

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

Marker for loading weekday names.

Implementations on Foreign Typesยง

Sourceยง

impl DateDataMarkers for ()

Implementorsยง

Sourceยง

impl DateDataMarkers for CalendarPeriodFieldSet

Sourceยง

impl DateDataMarkers for DateFieldSet

Sourceยง

impl DateDataMarkers for D

Sourceยง

impl DateDataMarkers for DE

Sourceยง

impl DateDataMarkers for DET

Sourceยง

impl DateDataMarkers for DT

Sourceยง

impl DateDataMarkers for E

Sourceยง

impl DateDataMarkers for ET

Sourceยง

impl DateDataMarkers for M

Sourceยง

impl DateDataMarkers for MD

Sourceยง

impl DateDataMarkers for MDE

Sourceยง

impl DateDataMarkers for MDET

Sourceยง

impl DateDataMarkers for MDT

Sourceยง

impl DateDataMarkers for Y

Sourceยง

impl DateDataMarkers for YM

Sourceยง

impl DateDataMarkers for YMD

Sourceยง

impl DateDataMarkers for YMDE

Sourceยง

impl DateDataMarkers for YMDET

Sourceยง

impl DateDataMarkers for YMDT