pub struct RocYearNamesV1Marker;
Expand description
Marker type for YearNamesV1
: “datetime/names/roc/years@1”
- Fallback priority: language (default)
Trait Implementations§
source§impl DataMarker for RocYearNamesV1Marker
impl DataMarker for RocYearNamesV1Marker
source§const INFO: DataMarkerInfo = _
const INFO: DataMarkerInfo = _
The single
DataMarkerInfo
associated with this marker.source§fn bind<P>(provider: P) -> DataProviderWithMarker<Self, P>where
P: DataProvider<Self>,
Self: Sized,
fn bind<P>(provider: P) -> DataProviderWithMarker<Self, P>where
P: DataProvider<Self>,
Self: Sized,
Binds this
DataMarker
to a provider supporting it.source§impl DataProvider<RocYearNamesV1Marker> for Baked
impl DataProvider<RocYearNamesV1Marker> for Baked
source§fn load(
&self,
req: DataRequest<'_>,
) -> Result<DataResponse<RocYearNamesV1Marker>, DataError>
fn load( &self, req: DataRequest<'_>, ) -> Result<DataResponse<RocYearNamesV1Marker>, DataError>
Query the provider for data, returning the result. Read more
source§impl DynamicDataMarker for RocYearNamesV1Marker
impl DynamicDataMarker for RocYearNamesV1Marker
source§type DataStruct = YearNamesV1<'static>
type DataStruct = YearNamesV1<'static>
A type that implements
Yokeable
. This should typically be the 'static
version of a
data struct.Auto Trait Implementations§
impl Freeze for RocYearNamesV1Marker
impl RefUnwindSafe for RocYearNamesV1Marker
impl Send for RocYearNamesV1Marker
impl Sync for RocYearNamesV1Marker
impl Unpin for RocYearNamesV1Marker
impl UnwindSafe for RocYearNamesV1Marker
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