1 release (0 unstable)
2.0.0-beta1 | Nov 23, 2024 |
---|
#429 in Internationalization (i18n)
240 downloads per month
Used in 3 crates
(2 directly)
31KB
316 lines
icu_provider_registry
Exposes the list of all known DataMarker
s.
This is modeled as a macro that accepts a callback macro of the shape:
macro_rules! cb {
($($marker:path = $path:literal,)+ #[experimental] $($emarker:path = $epath:literal,)+) => {
// Do something for each marker, or each experimental marker
};
}
Calling this as registry!(cb);
evaluates cb
with the list of markers.
More Information
For more information on development, authorship, contributing etc. please visit ICU4X home page
.
lib.rs
:
Exposes the list of all known DataMarker
s.
This is modeled as a macro that accepts a callback macro of the shape:
macro_rules! cb {
($($marker:path = $path:literal,)+ #[experimental] $($emarker:path = $epath:literal,)+) => {
// Do something for each marker, or each experimental marker
};
}
Calling this as registry!(cb);
evaluates cb
with the list of markers.