StringExt

Trait StringExt 

Source
pub trait StringExt {
    // Required methods
    fn capitalize(&self) -> String;
    fn snake_case(&self) -> String;
    fn camel_case(&self) -> String;
    fn pascal_case(&self) -> String;

    // Provided method
    fn kebab_case(&self) -> String { ... }
}

Required Methods§

Provided Methods§

Implementations on Foreign Types§

Source§

impl StringExt for &str

Source§

impl StringExt for String

Implementors§