Trait std::ascii::OwnedAsciiExtUnstable [-] [+] [src]

pub trait OwnedAsciiExt {
    fn into_ascii_uppercase(self) -> Self;
    fn into_ascii_lowercase(self) -> Self;
}

Extension methods for ASCII-subset only operations on owned strings

Required Methods

fn into_ascii_uppercase(self) -> Self

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_lowercase(self) -> Self

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