[][src]Trait inflector::Inflector

pub trait Inflector {
    pub fn to_camel_case(&self) -> String;
pub fn is_camel_case(&self) -> bool;
pub fn to_pascal_case(&self) -> String;
pub fn is_pascal_case(&self) -> bool;
pub fn to_snake_case(&self) -> String;
pub fn is_snake_case(&self) -> bool;
pub fn to_screaming_snake_case(&self) -> String;
pub fn is_screaming_snake_case(&self) -> bool;
pub fn to_kebab_case(&self) -> String;
pub fn is_kebab_case(&self) -> bool;
pub fn to_train_case(&self) -> String;
pub fn is_train_case(&self) -> bool;
pub fn to_sentence_case(&self) -> String;
pub fn is_sentence_case(&self) -> bool;
pub fn to_title_case(&self) -> String;
pub fn is_title_case(&self) -> bool;
pub fn ordinalize(&self) -> String;
pub fn deordinalize(&self) -> String;
pub fn to_foreign_key(&self) -> String;
pub fn is_foreign_key(&self) -> bool;
pub fn demodulize(&self) -> String;
pub fn deconstantize(&self) -> String;
pub fn to_class_case(&self) -> String;
pub fn is_class_case(&self) -> bool;
pub fn to_table_case(&self) -> String;
pub fn is_table_case(&self) -> bool;
pub fn to_plural(&self) -> String;
pub fn to_singular(&self) -> String; }

Required methods

pub fn to_camel_case(&self) -> String[src]

pub fn is_camel_case(&self) -> bool[src]

pub fn to_pascal_case(&self) -> String[src]

pub fn is_pascal_case(&self) -> bool[src]

pub fn to_snake_case(&self) -> String[src]

pub fn is_snake_case(&self) -> bool[src]

pub fn to_screaming_snake_case(&self) -> String[src]

pub fn is_screaming_snake_case(&self) -> bool[src]

pub fn to_kebab_case(&self) -> String[src]

pub fn is_kebab_case(&self) -> bool[src]

pub fn to_train_case(&self) -> String[src]

pub fn is_train_case(&self) -> bool[src]

pub fn to_sentence_case(&self) -> String[src]

pub fn is_sentence_case(&self) -> bool[src]

pub fn to_title_case(&self) -> String[src]

pub fn is_title_case(&self) -> bool[src]

pub fn ordinalize(&self) -> String[src]

pub fn deordinalize(&self) -> String[src]

pub fn to_foreign_key(&self) -> String[src]

pub fn is_foreign_key(&self) -> bool[src]

pub fn demodulize(&self) -> String[src]

pub fn deconstantize(&self) -> String[src]

pub fn to_class_case(&self) -> String[src]

pub fn is_class_case(&self) -> bool[src]

pub fn to_table_case(&self) -> String[src]

pub fn is_table_case(&self) -> bool[src]

pub fn to_plural(&self) -> String[src]

pub fn to_singular(&self) -> String[src]

Implementations on Foreign Types

impl Inflector for String[src][]

impl Inflector for str[src][]

Implementors