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

source§

fn clone(&self) -> NeverField

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for NeverField

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for NeverField

source§

fn default() -> NeverField

Returns the “default value” for a type. Read more
source§

impl From<NeverField> for Option<(Date<Iso>, Time)>

source§

fn from(_: NeverField) -> Self

Converts to this type from the input type.
source§

impl From<NeverField> for Option<Alignment>

source§

fn from(_: NeverField) -> Self

Converts to this type from the input type.
source§

impl From<NeverField> for Option<AnyCalendarKind>

source§

fn from(_: NeverField) -> Self

Converts to this type from the input type.
source§

impl From<NeverField> for Option<DayOfMonth>

source§

fn from(_: NeverField) -> Self

Converts to this type from the input type.
source§

impl From<NeverField> for Option<DayOfYearInfo>

source§

fn from(_: NeverField) -> Self

Converts to this type from the input type.
source§

impl From<NeverField> for Option<FractionalSecondDigits>

source§

fn from(_: NeverField) -> Self

Converts to this type from the input type.
source§

impl From<NeverField> for Option<IsoHour>

source§

fn from(_: NeverField) -> Self

Converts to this type from the input type.
source§

impl From<NeverField> for Option<IsoMinute>

source§

fn from(_: NeverField) -> Self

Converts to this type from the input type.
source§

impl From<NeverField> for Option<IsoSecond>

source§

fn from(_: NeverField) -> Self

Converts to this type from the input type.
source§

impl From<NeverField> for Option<IsoWeekday>

source§

fn from(_: NeverField) -> Self

Converts to this type from the input type.
source§

impl From<NeverField> for Option<MonthInfo>

source§

fn from(_: NeverField) -> Self

Converts to this type from the input type.
source§

impl From<NeverField> for Option<NanoSecond>

source§

fn from(_: NeverField) -> Self

Converts to this type from the input type.
source§

impl From<NeverField> for Option<NeoSkeletonLength>

source§

fn from(_: NeverField) -> Self

Converts to this type from the input type.
source§

impl From<NeverField> for Option<TimeZoneBcp47Id>

source§

fn from(_: NeverField) -> Self

Converts to this type from the input type.
source§

impl From<NeverField> for Option<UtcOffset>

source§

fn from(_: NeverField) -> Self

Converts to this type from the input type.
source§

impl From<NeverField> for Option<YearInfo>

source§

fn from(_: NeverField) -> Self

Converts to this type from the input type.
source§

impl From<NeverField> for Option<YearStyle>

source§

fn from(_: NeverField) -> Self

Converts to this type from the input type.
source§

impl From<NeverField> for Option<ZoneVariant>

source§

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>

source§

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>

source§

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>

source§

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>

source§

fn get_field(&self) -> NeverField

Returns the value of this trait’s field T.
source§

impl GetField<NeverField> for NeoAutoDateMarker

source§

fn get_field(&self) -> NeverField

Returns the value of this trait’s field T.
source§

impl GetField<NeverField> for NeoAutoTimeMarker

source§

fn get_field(&self) -> NeverField

Returns the value of this trait’s field T.
source§

impl GetField<NeverField> for NeoCalendarPeriodSkeleton

source§

fn get_field(&self) -> NeverField

Returns the value of this trait’s field T.
source§

impl GetField<NeverField> for NeoDateSkeleton

source§

fn get_field(&self) -> NeverField

Returns the value of this trait’s field T.
source§

impl GetField<NeverField> for NeoDateTimeSkeleton

source§

fn get_field(&self) -> NeverField

Returns the value of this trait’s field T.
source§

impl GetField<NeverField> for NeoHourMinuteMarker

source§

fn get_field(&self) -> NeverField

Returns the value of this trait’s field T.
source§

impl GetField<NeverField> for NeoHourMinuteSecondMarker

source§

fn get_field(&self) -> NeverField

Returns the value of this trait’s field T.
source§

impl GetField<NeverField> for NeoMonthDayMarker

source§

fn get_field(&self) -> NeverField

Returns the value of this trait’s field T.
source§

impl GetField<NeverField> for NeoSkeleton

source§

fn get_field(&self) -> NeverField

Returns the value of this trait’s field T.
source§

impl GetField<NeverField> for NeoTimeSkeleton

source§

fn get_field(&self) -> NeverField

Returns the value of this trait’s field T.
source§

impl GetField<NeverField> for NeoTimeZoneGenericMarker

source§

fn get_field(&self) -> NeverField

Returns the value of this trait’s field T.
source§

impl GetField<NeverField> for NeoTimeZoneGenericShortMarker

source§

fn get_field(&self) -> NeverField

Returns the value of this trait’s field T.
source§

impl GetField<NeverField> for NeoTimeZoneLocationMarker

source§

fn get_field(&self) -> NeverField

Returns the value of this trait’s field T.
source§

impl GetField<NeverField> for NeoTimeZoneOffsetMarker

source§

fn get_field(&self) -> NeverField

Returns the value of this trait’s field T.
source§

impl GetField<NeverField> for NeoTimeZoneSkeleton

source§

fn get_field(&self) -> NeverField

Returns the value of this trait’s field T.
source§

impl GetField<NeverField> for NeoTimeZoneSpecificMarker

source§

fn get_field(&self) -> NeverField

Returns the value of this trait’s field T.
source§

impl GetField<NeverField> for NeoTimeZoneSpecificShortMarker

source§

fn get_field(&self) -> NeverField

Returns the value of this trait’s field T.
source§

impl GetField<NeverField> for NeoYearMonthDayMarker

source§

fn get_field(&self) -> NeverField

Returns the value of this trait’s field T.
source§

impl GetField<NeverField> for NeoYearMonthMarker

source§

fn get_field(&self) -> NeverField

Returns the value of this trait’s field T.
source§

impl GetField<NeverField> for Time

source§

fn get_field(&self) -> NeverField

Returns the value of this trait’s field T.
source§

impl GetField<NeverField> for TimeZoneInfo

source§

fn get_field(&self) -> NeverField

Returns the value of this trait’s field T.
source§

impl Copy for NeverField

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

source§

fn get_field(&self) -> T

Returns the value of this trait’s field T.
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

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 more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T
where T: Send + Sync,