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(&self) -> &str;
    fn trim_left(&self) -> &str;
    fn trim_right(&self) -> &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(&self) -> &str

Unstable (unicode #27783)

fn trim_left(&self) -> &str

Unstable (unicode #27783)

fn trim_right(&self) -> &str

Unstable (unicode #27783)

Implementors