Module icu_provider::dynutil
source · Expand description
Utilities for using trait objects with DataPayload
.
Macros§
- Implements
UpcastDataPayload
from several data markers to a single data marker that all share the sameDynamicDataMarker::DataStruct
. - Implements
DynamicDataProvider
for a marker typeS
on a type that already implementsDynamicDataProvider
orDataProvider
for one or moreM
, whereM
is a concrete type that is convertible toS
viaUpcastDataPayload
.
Traits§
- Trait to allow conversion from
DataPayload<T>
toDataPayload<S>
.