Struct icu_datetime::neo_marker::NeverField
source · pub struct NeverField;
Expand description
Struct representing the absence of a datetime formatting field.
Trait Implementations§
source§impl Clone for NeverField
impl Clone for NeverField
source§fn clone(&self) -> NeverField
fn clone(&self) -> NeverField
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NeverField
impl Debug for NeverField
source§impl Default for NeverField
impl Default for NeverField
source§fn default() -> NeverField
fn default() -> NeverField
Returns the “default value” for a type. Read more
source§impl From<NeverField> for Option<(Date<Iso>, Time)>
impl From<NeverField> for Option<(Date<Iso>, Time)>
source§fn from(_: NeverField) -> Self
fn from(_: NeverField) -> Self
Converts to this type from the input type.
source§impl From<NeverField> for Option<Alignment>
impl From<NeverField> for Option<Alignment>
source§fn from(_: NeverField) -> Self
fn from(_: NeverField) -> Self
Converts to this type from the input type.
source§impl From<NeverField> for Option<AnyCalendarKind>
impl From<NeverField> for Option<AnyCalendarKind>
source§fn from(_: NeverField) -> Self
fn from(_: NeverField) -> Self
Converts to this type from the input type.
source§impl From<NeverField> for Option<DayOfMonth>
impl From<NeverField> for Option<DayOfMonth>
source§fn from(_: NeverField) -> Self
fn from(_: NeverField) -> Self
Converts to this type from the input type.
source§impl From<NeverField> for Option<DayOfYearInfo>
impl From<NeverField> for Option<DayOfYearInfo>
source§fn from(_: NeverField) -> Self
fn from(_: NeverField) -> Self
Converts to this type from the input type.
source§impl From<NeverField> for Option<FractionalSecondDigits>
impl From<NeverField> for Option<FractionalSecondDigits>
source§fn from(_: NeverField) -> Self
fn from(_: NeverField) -> Self
Converts to this type from the input type.
source§impl From<NeverField> for Option<IsoHour>
impl From<NeverField> for Option<IsoHour>
source§fn from(_: NeverField) -> Self
fn from(_: NeverField) -> Self
Converts to this type from the input type.
source§impl From<NeverField> for Option<IsoMinute>
impl From<NeverField> for Option<IsoMinute>
source§fn from(_: NeverField) -> Self
fn from(_: NeverField) -> Self
Converts to this type from the input type.
source§impl From<NeverField> for Option<IsoSecond>
impl From<NeverField> for Option<IsoSecond>
source§fn from(_: NeverField) -> Self
fn from(_: NeverField) -> Self
Converts to this type from the input type.
source§impl From<NeverField> for Option<IsoWeekday>
impl From<NeverField> for Option<IsoWeekday>
source§fn from(_: NeverField) -> Self
fn from(_: NeverField) -> Self
Converts to this type from the input type.
source§impl From<NeverField> for Option<MonthInfo>
impl From<NeverField> for Option<MonthInfo>
source§fn from(_: NeverField) -> Self
fn from(_: NeverField) -> Self
Converts to this type from the input type.
source§impl From<NeverField> for Option<NanoSecond>
impl From<NeverField> for Option<NanoSecond>
source§fn from(_: NeverField) -> Self
fn from(_: NeverField) -> Self
Converts to this type from the input type.
source§impl From<NeverField> for Option<NeoSkeletonLength>
impl From<NeverField> for Option<NeoSkeletonLength>
source§fn from(_: NeverField) -> Self
fn from(_: NeverField) -> Self
Converts to this type from the input type.
source§impl From<NeverField> for Option<TimeZoneBcp47Id>
impl From<NeverField> for Option<TimeZoneBcp47Id>
source§fn from(_: NeverField) -> Self
fn from(_: NeverField) -> Self
Converts to this type from the input type.
source§impl From<NeverField> for Option<UtcOffset>
impl From<NeverField> for Option<UtcOffset>
source§fn from(_: NeverField) -> Self
fn from(_: NeverField) -> Self
Converts to this type from the input type.
source§impl From<NeverField> for Option<YearInfo>
impl From<NeverField> for Option<YearInfo>
source§fn from(_: NeverField) -> Self
fn from(_: NeverField) -> Self
Converts to this type from the input type.
source§impl From<NeverField> for Option<YearStyle>
impl From<NeverField> for Option<YearStyle>
source§fn from(_: NeverField) -> Self
fn from(_: NeverField) -> Self
Converts to this type from the input type.
source§impl From<NeverField> for Option<ZoneVariant>
impl From<NeverField> for Option<ZoneVariant>
source§fn from(_: NeverField) -> Self
fn from(_: NeverField) -> Self
Converts to this type from the input type.
source§impl<C: Calendar, A: AsCalendar<Calendar = C>> GetField<NeverField> for CustomZonedDateTime<A>
impl<C: Calendar, A: AsCalendar<Calendar = C>> GetField<NeverField> for CustomZonedDateTime<A>
source§fn get_field(&self) -> NeverField
fn get_field(&self) -> NeverField
Returns the value of this trait’s field
T
.source§impl<C: Calendar, A: AsCalendar<Calendar = C>> GetField<NeverField> for Date<A>
impl<C: Calendar, A: AsCalendar<Calendar = C>> GetField<NeverField> for Date<A>
source§fn get_field(&self) -> NeverField
fn get_field(&self) -> NeverField
Returns the value of this trait’s field
T
.source§impl<C: Calendar, A: AsCalendar<Calendar = C>> GetField<NeverField> for DateTime<A>
impl<C: Calendar, A: AsCalendar<Calendar = C>> GetField<NeverField> for DateTime<A>
source§fn get_field(&self) -> NeverField
fn get_field(&self) -> NeverField
Returns the value of this trait’s field
T
.source§impl<D, T, Z> GetField<NeverField> for DateTimeCombo<D, T, Z>
impl<D, T, Z> GetField<NeverField> for DateTimeCombo<D, T, Z>
source§fn get_field(&self) -> NeverField
fn get_field(&self) -> NeverField
Returns the value of this trait’s field
T
.source§impl GetField<NeverField> for NeoAutoDateMarker
impl GetField<NeverField> for NeoAutoDateMarker
source§fn get_field(&self) -> NeverField
fn get_field(&self) -> NeverField
Returns the value of this trait’s field
T
.source§impl GetField<NeverField> for NeoAutoTimeMarker
impl GetField<NeverField> for NeoAutoTimeMarker
source§fn get_field(&self) -> NeverField
fn get_field(&self) -> NeverField
Returns the value of this trait’s field
T
.source§impl GetField<NeverField> for NeoCalendarPeriodSkeleton
impl GetField<NeverField> for NeoCalendarPeriodSkeleton
source§fn get_field(&self) -> NeverField
fn get_field(&self) -> NeverField
Returns the value of this trait’s field
T
.source§impl GetField<NeverField> for NeoDateSkeleton
impl GetField<NeverField> for NeoDateSkeleton
source§fn get_field(&self) -> NeverField
fn get_field(&self) -> NeverField
Returns the value of this trait’s field
T
.source§impl GetField<NeverField> for NeoDateTimeSkeleton
impl GetField<NeverField> for NeoDateTimeSkeleton
source§fn get_field(&self) -> NeverField
fn get_field(&self) -> NeverField
Returns the value of this trait’s field
T
.source§impl GetField<NeverField> for NeoHourMinuteMarker
impl GetField<NeverField> for NeoHourMinuteMarker
source§fn get_field(&self) -> NeverField
fn get_field(&self) -> NeverField
Returns the value of this trait’s field
T
.source§impl GetField<NeverField> for NeoHourMinuteSecondMarker
impl GetField<NeverField> for NeoHourMinuteSecondMarker
source§fn get_field(&self) -> NeverField
fn get_field(&self) -> NeverField
Returns the value of this trait’s field
T
.source§impl GetField<NeverField> for NeoMonthDayMarker
impl GetField<NeverField> for NeoMonthDayMarker
source§fn get_field(&self) -> NeverField
fn get_field(&self) -> NeverField
Returns the value of this trait’s field
T
.source§impl GetField<NeverField> for NeoSkeleton
impl GetField<NeverField> for NeoSkeleton
source§fn get_field(&self) -> NeverField
fn get_field(&self) -> NeverField
Returns the value of this trait’s field
T
.source§impl GetField<NeverField> for NeoTimeSkeleton
impl GetField<NeverField> for NeoTimeSkeleton
source§fn get_field(&self) -> NeverField
fn get_field(&self) -> NeverField
Returns the value of this trait’s field
T
.source§impl GetField<NeverField> for NeoTimeZoneGenericMarker
impl GetField<NeverField> for NeoTimeZoneGenericMarker
source§fn get_field(&self) -> NeverField
fn get_field(&self) -> NeverField
Returns the value of this trait’s field
T
.source§impl GetField<NeverField> for NeoTimeZoneGenericShortMarker
impl GetField<NeverField> for NeoTimeZoneGenericShortMarker
source§fn get_field(&self) -> NeverField
fn get_field(&self) -> NeverField
Returns the value of this trait’s field
T
.source§impl GetField<NeverField> for NeoTimeZoneLocationMarker
impl GetField<NeverField> for NeoTimeZoneLocationMarker
source§fn get_field(&self) -> NeverField
fn get_field(&self) -> NeverField
Returns the value of this trait’s field
T
.source§impl GetField<NeverField> for NeoTimeZoneOffsetMarker
impl GetField<NeverField> for NeoTimeZoneOffsetMarker
source§fn get_field(&self) -> NeverField
fn get_field(&self) -> NeverField
Returns the value of this trait’s field
T
.source§impl GetField<NeverField> for NeoTimeZoneSkeleton
impl GetField<NeverField> for NeoTimeZoneSkeleton
source§fn get_field(&self) -> NeverField
fn get_field(&self) -> NeverField
Returns the value of this trait’s field
T
.source§impl GetField<NeverField> for NeoTimeZoneSpecificMarker
impl GetField<NeverField> for NeoTimeZoneSpecificMarker
source§fn get_field(&self) -> NeverField
fn get_field(&self) -> NeverField
Returns the value of this trait’s field
T
.source§impl GetField<NeverField> for NeoTimeZoneSpecificShortMarker
impl GetField<NeverField> for NeoTimeZoneSpecificShortMarker
source§fn get_field(&self) -> NeverField
fn get_field(&self) -> NeverField
Returns the value of this trait’s field
T
.source§impl GetField<NeverField> for NeoYearMonthDayMarker
impl GetField<NeverField> for NeoYearMonthDayMarker
source§fn get_field(&self) -> NeverField
fn get_field(&self) -> NeverField
Returns the value of this trait’s field
T
.source§impl GetField<NeverField> for NeoYearMonthMarker
impl GetField<NeverField> for NeoYearMonthMarker
source§fn get_field(&self) -> NeverField
fn get_field(&self) -> NeverField
Returns the value of this trait’s field
T
.source§impl GetField<NeverField> for Time
impl GetField<NeverField> for Time
source§fn get_field(&self) -> NeverField
fn get_field(&self) -> NeverField
Returns the value of this trait’s field
T
.source§impl GetField<NeverField> for TimeZoneInfo
impl GetField<NeverField> for TimeZoneInfo
source§fn get_field(&self) -> NeverField
fn get_field(&self) -> NeverField
Returns the value of this trait’s field
T
.impl Copy for NeverField
Auto Trait Implementations§
impl Freeze for NeverField
impl RefUnwindSafe for NeverField
impl Send for NeverField
impl Sync for NeverField
impl Unpin for NeverField
impl UnwindSafe for NeverField
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more