Struct icu_provider::any::AnyMarker
source · pub struct AnyMarker;
Expand description
The DataMarker
marker type for AnyPayload
.
Trait Implementations§
source§impl DataMarker for AnyMarker
impl DataMarker for AnyMarker
§type Yokeable = AnyPayload
type Yokeable = 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,
key: DataKey,
req: DataRequest<'_>
) -> Result<DataResponse<AnyMarker>, DataError>
fn load_data( &self, key: DataKey, req: DataRequest<'_> ) -> Result<DataResponse<AnyMarker>, DataError>
Query the provider for data, returning the result. Read more
source§impl<M> UpcastDataPayload<M> for AnyMarkerwhere
M: DataMarker,
M::Yokeable: MaybeSendSync,
impl<M> UpcastDataPayload<M> for AnyMarkerwhere M: DataMarker, M::Yokeable: MaybeSendSync,
source§fn upcast(other: DataPayload<M>) -> DataPayload<AnyMarker>
fn upcast(other: DataPayload<M>) -> DataPayload<AnyMarker>
Auto Trait Implementations§
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