pub struct CaselessStr(/* private fields */);Expand description
A case-insensitive str with repr(transparent) layout.
Equality and hashing are performed case-insensitively (ASCII case folding). This is used for iCalendar property and parameter names (RFC 5545 §3.1).
Implementations§
Source§impl CaselessStr
impl CaselessStr
Sourcepub fn from_box_str(value: Box<str>) -> Box<CaselessStr>
pub fn from_box_str(value: Box<str>) -> Box<CaselessStr>
Converts a Box<str> into a Box<CaselessStr>.
Sourcepub fn into_box_str(self: Box<Self>) -> Box<str>
pub fn into_box_str(self: Box<Self>) -> Box<str>
Converts a Box<CaselessStr> into a Box<str>.