Struct icu_provider::any::AnyMarker
source · pub struct AnyMarker;
Expand description
The DynamicDataMarker
marker type for AnyPayload
.
Trait Implementations§
source§impl DynamicDataMarker for AnyMarker
impl DynamicDataMarker for AnyMarker
source§type DataStruct = AnyPayload
type DataStruct = AnyPayload
A type that implements [
Yokeable
]. This should typically be the 'static
version of a
data struct.source§impl DynamicDataProvider<AnyMarker> for HelloWorldProvider
impl DynamicDataProvider<AnyMarker> for HelloWorldProvider
source§fn load_data(
&self,
marker: DataMarkerInfo,
req: DataRequest<'_>,
) -> Result<DataResponse<AnyMarker>, DataError>
fn load_data( &self, marker: DataMarkerInfo, req: DataRequest<'_>, ) -> Result<DataResponse<AnyMarker>, DataError>
Query the provider for data, returning the result. Read more
source§impl<M> UpcastDataPayload<M> for AnyMarker
impl<M> UpcastDataPayload<M> for AnyMarker
source§fn upcast(other: DataPayload<M>) -> DataPayload<AnyMarker>
fn upcast(other: DataPayload<M>) -> DataPayload<AnyMarker>
Auto Trait Implementations§
impl Freeze for AnyMarker
impl RefUnwindSafe for AnyMarker
impl Send for AnyMarker
impl Sync for AnyMarker
impl Unpin for AnyMarker
impl UnwindSafe for AnyMarker
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