macro_rules! data_marker {
($(#[$doc:meta])* $name:ident, $($debug:literal,)? $struct:ty $(, $(#[$meta:meta])* $info_field:ident = $info_val:expr)* $(,)?) => { ... };
}Expand description
Creates a data marker.
§Examples
icu_provider::data_marker!(DummyV1, &'static str);The identifier needs to end with a V followed by one or more digits (the version number).
Invalid identifiers are compile-time errors (as data_marker! uses const).
ⓘ
icu_provider::data_marker!(Dummy, &'static str);