Module uncased
Expand description
Case-preserving, ASCII case-insensitive string types.
An uncased string is case-preserving. That is, the string itself contains
cased characters, but comparison (including ordering, equality, and hashing)
is ASCII case-insensitive. Note: the alloc feature is enabled.
Structs§
- Uncased
alloc - An uncased (case-insensitive, case-preserving), owned or borrowed ASCII string.
- Uncased
Str - A cost-free reference to an uncased (case-insensitive, case-preserving) ASCII string.
Traits§
- AsUncased
- Helper trait to convert string-like references to
&UncasedStr.
Functions§
- eq
- Returns true if
s1ands2are equal without considering case.