Casing

Trait Casing 

Source
pub trait Casing<T: Display> {
    // Required methods
    fn to_case(&self, case: Case) -> String;
    fn is_case(&self, case: Case) -> bool;
}

Required Methods§

Source

fn to_case(&self, case: Case) -> String

Source

fn is_case(&self, case: Case) -> bool

Implementors§

Source§

impl<T: Display> Casing<T> for T
where String: PartialEq<T>,