ToTitle

Trait ToTitle 

Source
pub trait ToTitle {
    // Required method
    fn to_title(&self) -> String;
}
Expand description

A trait for converting string to titlecased.

Required Methods§

Source

fn to_title(&self) -> String

Returns a titlecased string.

Implementations on Foreign Types§

Source§

impl ToTitle for str

Implementors§