Trait icu::datetime::scaffold::DateInputMarkers

source ·
pub trait DateInputMarkers: UnstableSealed {
    type YearInput: IntoOption<YearInfo>;
    type MonthInput: IntoOption<MonthInfo>;
    type DayOfMonthInput: IntoOption<DayOfMonth>;
    type DayOfYearInput: IntoOption<DayOfYearInfo>;
    type DayOfWeekInput: IntoOption<IsoWeekday>;
}
Expand description

A trait associating types for date formatting in any calendar (input types only).

This is a sealed trait implemented on field set markers.

Required Associated Types§

source

type YearInput: IntoOption<YearInfo>

Marker for resolving the year input field.

source

type MonthInput: IntoOption<MonthInfo>

Marker for resolving the month input field.

source

type DayOfMonthInput: IntoOption<DayOfMonth>

Marker for resolving the day-of-month input field.

source

type DayOfYearInput: IntoOption<DayOfYearInfo>

Marker for resolving the day-of-year input field.

source

type DayOfWeekInput: IntoOption<IsoWeekday>

Marker for resolving the day-of-week input field.

Implementations on Foreign Types§

source§

impl DateInputMarkers for ()

Implementors§

source§

impl DateInputMarkers for CalendarPeriodFieldSet

source§

impl DateInputMarkers for DateFieldSet

source§

impl DateInputMarkers for D

source§

impl DateInputMarkers for DE

source§

impl DateInputMarkers for DET

source§

impl DateInputMarkers for DT

source§

impl DateInputMarkers for E

source§

impl DateInputMarkers for ET

source§

impl DateInputMarkers for M

source§

impl DateInputMarkers for MD

source§

impl DateInputMarkers for MDE

source§

impl DateInputMarkers for MDET

source§

impl DateInputMarkers for MDT

source§

impl DateInputMarkers for Y

source§

impl DateInputMarkers for YM

source§

impl DateInputMarkers for YMD

source§

impl DateInputMarkers for YMDE

source§

impl DateInputMarkers for YMDET

source§

impl DateInputMarkers for YMDT