pub struct AnyMarker;
Expand description
The DataMarker
marker type for AnyPayload
.
Trait Implementations§
Source§impl DataMarker for AnyMarker
impl DataMarker for AnyMarker
Source§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 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