icu_locid_macros
is one of the ICU4X
components.
This API provides convenience macros for icu_locid
.
```rust use iculocidmacros::{language, region, langid};
let lid = langid!("EN_US");
asserteq!(lid.langauge, language!("en")); asserteq!(loc.region, Some(region!("US"))); ```
For more information on development, authorship, contributing etc. please visit ICU4X home page
.