icu::datetime::scaffold

Trait 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<Weekday>;
}
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.

🚧 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 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<Weekday>

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