Trait inflector::Inflector [] [src]

pub trait Inflector {
    fn to_class_case<'a>(&self) -> String;
    fn is_class_case<'a>(&self) -> bool;
    fn to_camel_case<'a>(&self) -> String;
    fn is_camel_case<'a>(&self) -> bool;
    fn to_snake_case<'a>(&self) -> String;
    fn is_snake_case<'a>(&self) -> bool;
    fn to_kebab_case<'a>(&self) -> String;
    fn is_kebab_case<'a>(&self) -> bool;
    fn to_sentence_case<'a>(&self) -> String;
    fn is_sentence_case<'a>(&self) -> bool;
    fn to_title_case<'a>(&self) -> String;
    fn is_title_case<'a>(&self) -> bool;
    fn to_upper_case<'a>(&self) -> String;
    fn is_upper_case<'a>(&self) -> bool;
    fn to_lower_case<'a>(&self) -> String;
    fn is_lower_case<'a>(&self) -> bool;
    fn ordinalize<'a>(&self) -> String;
    fn deordinalize<'a>(&self) -> String;
    fn to_foreign_key<'a>(&self) -> String;
    fn is_foreign_key<'a>(&self) -> bool;
    fn demodulize<'a>(&self) -> String;
    fn deconstantize<'a>(&self) -> String;
}

Required Methods

fn to_class_case<'a>(&self) -> String

fn is_class_case<'a>(&self) -> bool

fn to_camel_case<'a>(&self) -> String

fn is_camel_case<'a>(&self) -> bool

fn to_snake_case<'a>(&self) -> String

fn is_snake_case<'a>(&self) -> bool

fn to_kebab_case<'a>(&self) -> String

fn is_kebab_case<'a>(&self) -> bool

fn to_sentence_case<'a>(&self) -> String

fn is_sentence_case<'a>(&self) -> bool

fn to_title_case<'a>(&self) -> String

fn is_title_case<'a>(&self) -> bool

fn to_upper_case<'a>(&self) -> String

fn is_upper_case<'a>(&self) -> bool

fn to_lower_case<'a>(&self) -> String

fn is_lower_case<'a>(&self) -> bool

fn ordinalize<'a>(&self) -> String

fn deordinalize<'a>(&self) -> String

fn to_foreign_key<'a>(&self) -> String

fn is_foreign_key<'a>(&self) -> bool

fn demodulize<'a>(&self) -> String

fn deconstantize<'a>(&self) -> String

Implementors