Enum icu_datetime::NeverCalendar
source · pub enum NeverCalendar {}
Expand description
A calendar that can never exist.
Used as a substitute for calendar parameters when a calendar is not needed, such as in a time formatter.
Trait Implementations§
source§impl CldrCalendar for NeverCalendar
impl CldrCalendar for NeverCalendar
§type YearNamesV1Marker = NeverMarker<YearNamesV1<'static>>
type YearNamesV1Marker = NeverMarker<YearNamesV1<'static>>
The data marker for loading year symbols for this calendar.
§type MonthNamesV1Marker = NeverMarker<MonthNamesV1<'static>>
type MonthNamesV1Marker = NeverMarker<MonthNamesV1<'static>>
The data marker for loading month symbols for this calendar.
§type SkeletaV1Marker = NeverMarker<PackedSkeletonDataV1<'static>>
type SkeletaV1Marker = NeverMarker<PackedSkeletonDataV1<'static>>
The data marker for loading skeleton patterns for this calendar.
source§impl Debug for NeverCalendar
impl Debug for NeverCalendar
impl InternalCldrCalendar for NeverCalendar
Auto Trait Implementations§
impl Freeze for NeverCalendar
impl RefUnwindSafe for NeverCalendar
impl Send for NeverCalendar
impl Sync for NeverCalendar
impl Unpin for NeverCalendar
impl UnwindSafe for NeverCalendar
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