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<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<EraDisplay>
impl From<NeverField> for Option<EraDisplay>
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<MetazoneId>
impl From<NeverField> for Option<MetazoneId>
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<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 NeoGetField<NeverField> for CustomTimeZone
impl NeoGetField<NeverField> for CustomTimeZone
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>> NeoGetField<NeverField> for CustomZonedDateTime<A>
impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<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>> NeoGetField<NeverField> for Date<A>
impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<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>> NeoGetField<NeverField> for DateTime<A>
impl<C: Calendar, A: AsCalendar<Calendar = C>> NeoGetField<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 NeoGetField<NeverField> for Time
impl NeoGetField<NeverField> for Time
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