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
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> MaybeSendSync for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes