Trait unicode::str::UnicodeStrExperimental
[-]
[+]
[src]
pub trait UnicodeStr: ?Sized {
fn graphemes<'a>(&'a self, is_extended: bool) -> Graphemes<'a>;
fn grapheme_indices<'a>(&'a self, is_extended: bool) -> GraphemeIndices<'a>;
fn words<'a>(&'a self) -> Words<'a>;
fn is_whitespace(&self) -> bool;
fn is_alphanumeric(&self) -> bool;
fn width(&self, is_cjk: bool) -> uint;
fn trim<'a>(&'a self) -> &'a str;
fn trim_left<'a>(&'a self) -> &'a str;
fn trim_right<'a>(&'a self) -> &'a str;
}Methods for Unicode string slices
Required Methods
fn graphemes<'a>(&'a self, is_extended: bool) -> Graphemes<'a>
fn grapheme_indices<'a>(&'a self, is_extended: bool) -> GraphemeIndices<'a>
fn words<'a>(&'a self) -> Words<'a>
fn is_whitespace(&self) -> bool
fn is_alphanumeric(&self) -> bool
fn width(&self, is_cjk: bool) -> uint
fn trim<'a>(&'a self) -> &'a str
fn trim_left<'a>(&'a self) -> &'a str
fn trim_right<'a>(&'a self) -> &'a str
Implementors
impl UnicodeStr for str