[src]

Trait std::ascii::OwnedStrAsciiExt

pub trait OwnedStrAsciiExt {
    fn into_ascii_upper(self) -> ~str;
    fn into_ascii_lower(self) -> ~str;
}

Extension methods for ASCII-subset only operations on owned strings

Required Methods

fn into_ascii_upper(self) -> ~str

Convert the string to ASCII upper case: ASCII letters 'a' to 'z' are mapped to 'A' to 'Z', but non-ASCII letters are unchanged.

fn into_ascii_lower(self) -> ~str

Convert the string to ASCII lower case: ASCII letters 'A' to 'Z' are mapped to 'a' to 'z', but non-ASCII letters are unchanged.

Implementors