Trait icu_datetime::neo_marker::NeoGetField

source ·
pub trait NeoGetField<T> {
    // Required method
    fn get_field(&self) -> T;
}
Expand description

A type that can return a certain field T.

Required Methods§

source

fn get_field(&self) -> T

Returns the value of this trait’s field T.

Implementations on Foreign Types§

source§

impl NeoGetField<Option<Option<MetazoneId>>> for CustomTimeZone

source§

impl NeoGetField<Option<UtcOffset>> for CustomTimeZone

source§

impl NeoGetField<Option<ZoneVariant>> for CustomTimeZone

source§

impl NeoGetField<Option<TimeZoneBcp47Id>> for CustomTimeZone

source§

impl NeoGetField<NeverField> for CustomTimeZone

source§

impl NeoGetField<NeverField> for Time

source§

impl NeoGetField<IsoHour> for Time

source§

fn get_field(&self) -> IsoHour

source§

impl NeoGetField<IsoMinute> for Time

source§

fn get_field(&self) -> IsoMinute

source§

impl NeoGetField<IsoSecond> for Time

source§

fn get_field(&self) -> IsoSecond

source§

impl NeoGetField<NanoSecond> for Time

source§

fn get_field(&self) -> NanoSecond

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<Option<Option<MetazoneId>>> for CustomZonedDateTime<A>

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<Option<UtcOffset>> for CustomZonedDateTime<A>

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<Option<ZoneVariant>> for CustomZonedDateTime<A>

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<Option<TimeZoneBcp47Id>> for CustomZonedDateTime<A>

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<NeverField> for CustomZonedDateTime<A>

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<NeverField> for Date<A>

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<NeverField> for DateTime<A>

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<DayOfMonth> for CustomZonedDateTime<A>

source§

fn get_field(&self) -> DayOfMonth

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<DayOfMonth> for Date<A>

source§

fn get_field(&self) -> DayOfMonth

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<DayOfMonth> for DateTime<A>

source§

fn get_field(&self) -> DayOfMonth

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<DayOfYearInfo> for CustomZonedDateTime<A>

source§

fn get_field(&self) -> DayOfYearInfo

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<DayOfYearInfo> for Date<A>

source§

fn get_field(&self) -> DayOfYearInfo

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<DayOfYearInfo> for DateTime<A>

source§

fn get_field(&self) -> DayOfYearInfo

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<IsoHour> for CustomZonedDateTime<A>

source§

fn get_field(&self) -> IsoHour

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<IsoHour> for DateTime<A>

source§

fn get_field(&self) -> IsoHour

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<IsoMinute> for CustomZonedDateTime<A>

source§

fn get_field(&self) -> IsoMinute

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<IsoMinute> for DateTime<A>

source§

fn get_field(&self) -> IsoMinute

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<IsoSecond> for CustomZonedDateTime<A>

source§

fn get_field(&self) -> IsoSecond

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<IsoSecond> for DateTime<A>

source§

fn get_field(&self) -> IsoSecond

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<IsoWeekday> for CustomZonedDateTime<A>

source§

fn get_field(&self) -> IsoWeekday

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<IsoWeekday> for Date<A>

source§

fn get_field(&self) -> IsoWeekday

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<IsoWeekday> for DateTime<A>

source§

fn get_field(&self) -> IsoWeekday

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<MonthInfo> for CustomZonedDateTime<A>

source§

fn get_field(&self) -> MonthInfo

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<MonthInfo> for Date<A>

source§

fn get_field(&self) -> MonthInfo

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<MonthInfo> for DateTime<A>

source§

fn get_field(&self) -> MonthInfo

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<NanoSecond> for CustomZonedDateTime<A>

source§

fn get_field(&self) -> NanoSecond

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<NanoSecond> for DateTime<A>

source§

fn get_field(&self) -> NanoSecond

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<YearInfo> for CustomZonedDateTime<A>

source§

fn get_field(&self) -> YearInfo

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<YearInfo> for Date<A>

source§

fn get_field(&self) -> YearInfo

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<YearInfo> for DateTime<A>

source§

fn get_field(&self) -> YearInfo

source§

impl<C: IntoAnyCalendar, A: AsCalendar<Calendar = C>> NeoGetField<AnyCalendarKind> for CustomZonedDateTime<A>

source§

fn get_field(&self) -> AnyCalendarKind

source§

impl<C: IntoAnyCalendar, A: AsCalendar<Calendar = C>> NeoGetField<AnyCalendarKind> for Date<A>

source§

fn get_field(&self) -> AnyCalendarKind

source§

impl<C: IntoAnyCalendar, A: AsCalendar<Calendar = C>> NeoGetField<AnyCalendarKind> for DateTime<A>

source§

fn get_field(&self) -> AnyCalendarKind

Implementors§

source§

impl NeoGetField<NeoComponents> for NeoCalendarPeriodSkeleton

source§

impl NeoGetField<NeoComponents> for NeoDateSkeleton

source§

impl NeoGetField<NeoComponents> for NeoDateTimeSkeleton

source§

impl NeoGetField<NeoComponents> for NeoSkeleton

source§

impl NeoGetField<NeoComponents> for NeoTimeSkeleton

source§

impl NeoGetField<NeoComponents> for NeoTimeZoneSkeleton

source§

impl NeoGetField<NeoSkeletonLength> for NeoCalendarPeriodSkeleton

source§

impl NeoGetField<NeoSkeletonLength> for NeoDateSkeleton

source§

impl NeoGetField<NeoSkeletonLength> for NeoDateTimeSkeleton

source§

impl NeoGetField<NeoSkeletonLength> for NeoSkeleton

source§

impl NeoGetField<NeoSkeletonLength> for NeoTimeSkeleton

source§

impl NeoGetField<NeoSkeletonLength> for NeoTimeZoneSkeleton

source§

impl NeoGetField<NeoSkeletonLength> for NeoAutoDateMarker

source§

impl NeoGetField<NeoSkeletonLength> for NeoAutoTimeMarker

source§

impl NeoGetField<NeoSkeletonLength> for NeoHourMinuteMarker

source§

impl NeoGetField<NeoSkeletonLength> for NeoHourMinuteSecondMarker

source§

impl NeoGetField<NeoSkeletonLength> for NeoMonthDayMarker

source§

impl NeoGetField<NeoSkeletonLength> for NeoTimeZoneGenericMarker

source§

impl NeoGetField<NeoSkeletonLength> for NeoTimeZoneGenericShortMarker

source§

impl NeoGetField<NeoSkeletonLength> for NeoTimeZoneLocationMarker

source§

impl NeoGetField<NeoSkeletonLength> for NeoTimeZoneOffsetMarker

source§

impl NeoGetField<NeoSkeletonLength> for NeoTimeZoneSpecificMarker

source§

impl NeoGetField<NeoSkeletonLength> for NeoTimeZoneSpecificShortMarker

source§

impl NeoGetField<NeoSkeletonLength> for NeoYearMonthDayMarker

source§

impl NeoGetField<NeoSkeletonLength> for NeoYearMonthMarker

source§

impl NeoGetField<Option<Alignment>> for NeoCalendarPeriodSkeleton

source§

impl NeoGetField<Option<Alignment>> for NeoDateSkeleton

source§

impl NeoGetField<Option<Alignment>> for NeoDateTimeSkeleton

source§

impl NeoGetField<Option<Alignment>> for NeoSkeleton

source§

impl NeoGetField<Option<Alignment>> for NeoTimeSkeleton

source§

impl NeoGetField<Option<Alignment>> for NeoAutoDateMarker

source§

impl NeoGetField<Option<Alignment>> for NeoAutoTimeMarker

source§

impl NeoGetField<Option<Alignment>> for NeoHourMinuteMarker

source§

impl NeoGetField<Option<Alignment>> for NeoHourMinuteSecondMarker

source§

impl NeoGetField<Option<Alignment>> for NeoMonthDayMarker

source§

impl NeoGetField<Option<Alignment>> for NeoYearMonthDayMarker

source§

impl NeoGetField<Option<Alignment>> for NeoYearMonthMarker

source§

impl NeoGetField<Option<FractionalSecondDigits>> for NeoDateTimeSkeleton

source§

impl NeoGetField<Option<FractionalSecondDigits>> for NeoSkeleton

source§

impl NeoGetField<Option<FractionalSecondDigits>> for NeoTimeSkeleton

source§

impl NeoGetField<Option<FractionalSecondDigits>> for NeoAutoTimeMarker

source§

impl NeoGetField<Option<FractionalSecondDigits>> for NeoHourMinuteSecondMarker

source§

impl NeoGetField<Option<YearStyle>> for NeoCalendarPeriodSkeleton

source§

impl NeoGetField<Option<YearStyle>> for NeoDateSkeleton

source§

impl NeoGetField<Option<YearStyle>> for NeoDateTimeSkeleton

source§

impl NeoGetField<Option<YearStyle>> for NeoSkeleton

source§

impl NeoGetField<Option<YearStyle>> for NeoAutoDateMarker

source§

impl NeoGetField<Option<YearStyle>> for NeoYearMonthDayMarker

source§

impl NeoGetField<Option<YearStyle>> for NeoYearMonthMarker

source§

impl NeoGetField<NeverField> for NeoCalendarPeriodSkeleton

source§

impl NeoGetField<NeverField> for NeoDateSkeleton

source§

impl NeoGetField<NeverField> for NeoDateTimeSkeleton

source§

impl NeoGetField<NeverField> for NeoSkeleton

source§

impl NeoGetField<NeverField> for NeoTimeSkeleton

source§

impl NeoGetField<NeverField> for NeoTimeZoneSkeleton

source§

impl NeoGetField<NeverField> for NeoAutoDateMarker

source§

impl NeoGetField<NeverField> for NeoAutoTimeMarker

source§

impl NeoGetField<NeverField> for NeoHourMinuteMarker

source§

impl NeoGetField<NeverField> for NeoHourMinuteSecondMarker

source§

impl NeoGetField<NeverField> for NeoMonthDayMarker

source§

impl NeoGetField<NeverField> for NeoTimeZoneGenericMarker

source§

impl NeoGetField<NeverField> for NeoTimeZoneGenericShortMarker

source§

impl NeoGetField<NeverField> for NeoTimeZoneLocationMarker

source§

impl NeoGetField<NeverField> for NeoTimeZoneOffsetMarker

source§

impl NeoGetField<NeverField> for NeoTimeZoneSpecificMarker

source§

impl NeoGetField<NeverField> for NeoTimeZoneSpecificShortMarker

source§

impl NeoGetField<NeverField> for NeoYearMonthDayMarker

source§

impl NeoGetField<NeverField> for NeoYearMonthMarker

source§

impl<D, T, Z> NeoGetField<NeoSkeletonLength> for DateTimeCombo<D, T, Z>

source§

impl<D, T, Z> NeoGetField<Option<Alignment>> for DateTimeCombo<D, T, Z>

source§

impl<D, T, Z> NeoGetField<Option<FractionalSecondDigits>> for DateTimeCombo<D, T, Z>

source§

impl<D, T, Z> NeoGetField<Option<YearStyle>> for DateTimeCombo<D, T, Z>

source§

impl<D, T, Z> NeoGetField<NeverField> for DateTimeCombo<D, T, Z>

source§

impl<T> NeoGetField<T> for T
where T: Copy,