pub struct CalendarChineseV1;
Expand description
Precomputed data for the Chinese calendar
Trait Implementations§
Source§impl DataMarker for CalendarChineseV1
impl DataMarker for CalendarChineseV1
Source§impl DataProvider<CalendarChineseV1> for Baked
impl DataProvider<CalendarChineseV1> for Baked
Source§impl DynamicDataMarker for CalendarChineseV1
impl DynamicDataMarker for CalendarChineseV1
Source§type DataStruct = ChineseBasedCache<'static>
type DataStruct = ChineseBasedCache<'static>
A type that implements [
Yokeable
]. This should typically be the 'static
version of a
data struct.Auto Trait Implementations§
impl Freeze for CalendarChineseV1
impl RefUnwindSafe for CalendarChineseV1
impl Send for CalendarChineseV1
impl Sync for CalendarChineseV1
impl Unpin for CalendarChineseV1
impl UnwindSafe for CalendarChineseV1
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
§impl<M> DataMarkerExt for Mwhere
M: DataMarker,
impl<M> DataMarkerExt for Mwhere
M: DataMarker,
§fn bind<P>(provider: P) -> DataProviderWithMarker<M, P>where
P: DataProvider<M>,
fn bind<P>(provider: P) -> DataProviderWithMarker<M, P>where
P: DataProvider<M>,
Binds a [
DataMarker
] to a provider supporting it.§fn make_locale(locale: LocalePreferences) -> DataLocale
fn make_locale(locale: LocalePreferences) -> DataLocale
Constructs a [
DataLocale
] using fallback preferences from this [DataMarker
].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