Struct icu_provider::export::ExportMarker
source · pub struct ExportMarker {}
Expand description
Marker type for [ExportBox
].
Trait Implementations§
source§impl Debug for ExportMarker
impl Debug for ExportMarker
source§impl DynamicDataMarker for ExportMarker
impl DynamicDataMarker for ExportMarker
source§type DataStruct = ExportBox
type DataStruct = ExportBox
A type that implements [
Yokeable
]. This should typically be the 'static
version of a
data struct.source§impl DynamicDataProvider<ExportMarker> for HelloWorldProvider
impl DynamicDataProvider<ExportMarker> for HelloWorldProvider
source§fn load_data(
&self,
marker: DataMarkerInfo,
req: DataRequest<'_>,
) -> Result<DataResponse<ExportMarker>, DataError>
fn load_data( &self, marker: DataMarkerInfo, req: DataRequest<'_>, ) -> Result<DataResponse<ExportMarker>, DataError>
Query the provider for data, returning the result. Read more
source§impl IterableDynamicDataProvider<ExportMarker> for HelloWorldProvider
impl IterableDynamicDataProvider<ExportMarker> for HelloWorldProvider
source§fn iter_ids_for_marker(
&self,
marker: DataMarkerInfo,
) -> Result<BTreeSet<DataIdentifierCow<'_>>, DataError>
fn iter_ids_for_marker( &self, marker: DataMarkerInfo, ) -> Result<BTreeSet<DataIdentifierCow<'_>>, DataError>
Given a
DataMarkerInfo
, returns a set of DataIdentifierCow
.source§impl<M> UpcastDataPayload<M> for ExportMarkerwhere
M: DynamicDataMarker,
M::DataStruct: Sync + Send,
for<'a> <M::DataStruct as Yokeable<'a>>::Output: Bake + BakeSize + Serialize,
for<'a> YokeTraitHack<<M::DataStruct as Yokeable<'a>>::Output>: PartialEq,
impl<M> UpcastDataPayload<M> for ExportMarkerwhere
M: DynamicDataMarker,
M::DataStruct: Sync + Send,
for<'a> <M::DataStruct as Yokeable<'a>>::Output: Bake + BakeSize + Serialize,
for<'a> YokeTraitHack<<M::DataStruct as Yokeable<'a>>::Output>: PartialEq,
source§fn upcast(other: DataPayload<M>) -> DataPayload<ExportMarker>
fn upcast(other: DataPayload<M>) -> DataPayload<ExportMarker>
Auto Trait Implementations§
impl Freeze for ExportMarker
impl RefUnwindSafe for ExportMarker
impl Send for ExportMarker
impl Sync for ExportMarker
impl Unpin for ExportMarker
impl UnwindSafe for ExportMarker
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