Trait capitalize::Capitalize
source · [−]pub trait Capitalize: AsRef<str> {
fn capitalize(&self) -> String;
}
Required methods
fn capitalize(&self) -> String
fn capitalize(&self) -> String
Change first character to upper case and the rest to lower case.