Struct icu_datetime::provider::calendar::ChineseDateLengthsV1Marker
source · pub struct ChineseDateLengthsV1Marker;
Expand description
Marker type for DateLengthsV1
: “datetime/chinese/datelengths@1”
- Fallback priority: language (default)
- Extension keyword: none (default)
Trait Implementations§
source§impl DataMarker for ChineseDateLengthsV1Marker
impl DataMarker for ChineseDateLengthsV1Marker
source§type Yokeable = DateLengthsV1<'static>
type Yokeable = DateLengthsV1<'static>
A type that implements
Yokeable
. This should typically be the 'static
version of a
data struct.source§impl DataProvider<ChineseDateLengthsV1Marker> for Baked
impl DataProvider<ChineseDateLengthsV1Marker> for Baked
source§fn load(
&self,
req: DataRequest<'_>,
) -> Result<DataResponse<ChineseDateLengthsV1Marker>, DataError>
fn load( &self, req: DataRequest<'_>, ) -> Result<DataResponse<ChineseDateLengthsV1Marker>, DataError>
Query the provider for data, returning the result. Read more
source§impl KeyedDataMarker for ChineseDateLengthsV1Marker
impl KeyedDataMarker for ChineseDateLengthsV1Marker
source§fn bind<P>(provider: P) -> DataProviderWithKey<Self, P>where
P: DataProvider<Self>,
Self: Sized,
fn bind<P>(provider: P) -> DataProviderWithKey<Self, P>where
P: DataProvider<Self>,
Self: Sized,
Binds this
KeyedDataMarker
to a provider supporting it.Auto Trait Implementations§
impl Freeze for ChineseDateLengthsV1Marker
impl RefUnwindSafe for ChineseDateLengthsV1Marker
impl Send for ChineseDateLengthsV1Marker
impl Sync for ChineseDateLengthsV1Marker
impl Unpin for ChineseDateLengthsV1Marker
impl UnwindSafe for ChineseDateLengthsV1Marker
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