icu_normalizer_data

Macro make_provider

macro_rules! make_provider {
    ($ name : ty) => { ... };
}
Expand description

Marks a type as a data provider. You can then use macros like impl_core_helloworld_v1 to add implementations.

struct MyProvider;
const _: () = {
    include!("path/to/generated/macros.rs");
    make_provider!(MyProvider);
    impl_core_helloworld_v1!(MyProvider);
}