Module rocket_http::uncased
source · 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. - A cost-free reference to an uncased (case-insensitive, case-preserving) ASCII string.
Traits
- Helper trait to convert string-like references to
&UncasedStr
.
Functions
- Returns true if
s1
ands2
are equal without considering case.