| casemapper.rs |
|
33674 |
| closer.rs |
|
10055 |
| greek_to_me |
|
|
| internals.rs |
This module contains most of the actual algorithms for case mapping.
Primarily, it implements methods on `CaseMap`, which contains the data model. |
34810 |
| lib.rs |
Case mapping for Unicode characters and strings.
This module is published as its own crate ([`icu_casemap`](https://docs.rs/icu_casemap/latest/icu_casemap/))
and as part of the [`icu`](https://docs.rs/icu/latest/icu/) crate. See the latter for more details on the ICU4X project.
# Examples
```rust
use icu::casemap::CaseMapper;
use icu::locale::langid;
let cm = CaseMapper::new();
assert_eq!(
cm.uppercase_to_string("hello world", &langid!("und")),
"HELLO WORLD"
);
assert_eq!(
cm.lowercase_to_string("Γειά σου Κόσμε", &langid!("und")),
"γειά σου κόσμε"
);
```
[`ICU4X`]: ../icu/index.html |
2138 |
| provider |
|
|
| set.rs |
|
1493 |
| titlecase.rs |
Titlecasing-specific |
20300 |