Trait icu::datetime::scaffold::DateTimeNamesMarker
source · pub trait DateTimeNamesMarker: UnstableSealed {
type YearNames: NamesContainer<YearNamesV1Marker, FieldLength>;
type MonthNames: NamesContainer<MonthNamesV1Marker, (Month, FieldLength)>;
type WeekdayNames: NamesContainer<WeekdayNamesV1Marker, (Weekday, FieldLength)>;
type DayPeriodNames: NamesContainer<DayPeriodNamesV1Marker, FieldLength>;
type ZoneEssentials: NamesContainer<TimeZoneEssentialsV1Marker, ()>;
type ZoneLocations: NamesContainer<LocationsV1Marker, ()>;
type ZoneGenericLong: NamesContainer<MetazoneGenericNamesLongV1Marker, ()>;
type ZoneGenericShort: NamesContainer<MetazoneGenericNamesShortV1Marker, ()>;
type ZoneSpecificLong: NamesContainer<MetazoneSpecificNamesLongV1Marker, ()>;
type ZoneSpecificShort: NamesContainer<MetazoneSpecificNamesShortV1Marker, ()>;
type MetazoneLookup: NamesContainer<MetazonePeriodV1Marker, ()>;
}
Expand description
Trait for a type that owns datetime names data, usually in the form of data payloads.
This trait allows for types that contain data for some but not all types of datetime names, allowing for reduced stack size. For example, a type could contain year and month names but not weekday, day period, or time zone names.