| comparison.rs |
This module holds the `Collator` struct whose `compare_impl()` contains
the comparison of collation element sequences. |
134243 |
68 % |
| docs.rs |
|
9052 |
- |
| elements.rs |
This module holds the 64-bit `CollationElement` struct used for
the actual comparison, the 32-bit `CollationElement32` struct
that's used for storage. (Strictly speaking, the storage is
`RawBytesULE<4>`.) And the `CollationElements` iterator adapter
that turns an iterator over `char` into an iterator over
`CollationElement`. (To match the structure of ICU4C, this isn't
a real Rust `Iterator`. Instead of signaling end by returning
`None`, it signals end by returning `NO_CE`.)
This module also declares various constants that are also used
by the `comparison` module. |
123081 |
54 % |
| lib.rs |
|
16439 |
- |
| options.rs |
This module contains the types that are part of the API for setting
the options for the collator. |
34314 |
72 % |
| provider.rs |
🚧 \[Unstable\] Data provider struct definitions for this ICU4X component.
<div class="stab unstable">
🚧 This code is considered unstable; it may change at any time, in breaking or non-breaking ways,
including in SemVer minor releases. While the serde representation of data structs is guaranteed
to be stable, their Rust representation might not be. Use with caution.
</div>
Read more about data providers: [`icu_provider`] |
26169 |
82 % |