Struct icu_provider::any::AnyMarker
source · [−]pub struct AnyMarker;
Expand description
The DataMarker
marker type for AnyPayload
.
Trait Implementations
sourceimpl DataMarker for AnyMarker
impl DataMarker for AnyMarker
type Yokeable = AnyPayload
type Yokeable = AnyPayload
sourceimpl DynamicDataProvider<AnyMarker> for HelloWorldProvider
impl DynamicDataProvider<AnyMarker> for HelloWorldProvider
sourcefn 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
sourceimpl<M> UpcastDataPayload<M> for AnyMarker where
M: DataMarker + 'static,
M::Yokeable: MaybeSendSync,
impl<M> UpcastDataPayload<M> for AnyMarker where
M: DataMarker + 'static,
M::Yokeable: MaybeSendSync,
sourcefn upcast(other: DataPayload<M>) -> DataPayload<AnyMarker>
fn upcast(other: DataPayload<M>) -> DataPayload<AnyMarker>
Upcast a DataPayload<T>
to a DataPayload<S>
where T
implements trait S
. Read more
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more