Trait rustc_unicode::str::UnicodeStr
[−]
[src]
pub trait UnicodeStr { fn split_whitespace<'a>(&'a self) -> SplitWhitespace<'a>; fn is_whitespace(&self) -> bool; fn is_alphanumeric(&self) -> bool; fn trim<'a>(&'a self) -> &'a str; fn trim_left<'a>(&'a self) -> &'a str; fn trim_right<'a>(&'a self) -> &'a str; }
Unstable (
unicode
#27783)Methods for Unicode string slices
Required Methods
fn split_whitespace<'a>(&'a self) -> SplitWhitespace<'a>
Unstable (
unicode
#27783)fn is_whitespace(&self) -> bool
Unstable (
unicode
#27783)fn is_alphanumeric(&self) -> bool
Unstable (
unicode
#27783)fn trim<'a>(&'a self) -> &'a str
Unstable (
unicode
#27783)fn trim_left<'a>(&'a self) -> &'a str
Unstable (
unicode
#27783)fn trim_right<'a>(&'a self) -> &'a str
Unstable (
unicode
#27783)Implementors
impl UnicodeStr for str