Trait inflector::Inflector [−][src]
pub trait Inflector {}Show methods
fn to_camel_case(&self) -> String; fn is_camel_case(&self) -> bool; fn to_pascal_case(&self) -> String; fn is_pascal_case(&self) -> bool; fn to_snake_case(&self) -> String; fn is_snake_case(&self) -> bool; fn to_screaming_snake_case(&self) -> String; fn is_screaming_snake_case(&self) -> bool; fn to_kebab_case(&self) -> String; fn is_kebab_case(&self) -> bool; fn to_train_case(&self) -> String; fn is_train_case(&self) -> bool; fn to_sentence_case(&self) -> String; fn is_sentence_case(&self) -> bool; fn to_title_case(&self) -> String; fn is_title_case(&self) -> bool; fn ordinalize(&self) -> String; fn deordinalize(&self) -> String; fn to_foreign_key(&self) -> String; fn is_foreign_key(&self) -> bool; fn demodulize(&self) -> String; fn deconstantize(&self) -> String; fn to_class_case(&self) -> String; fn is_class_case(&self) -> bool; fn to_table_case(&self) -> String; fn is_table_case(&self) -> bool; fn to_plural(&self) -> String; fn to_singular(&self) -> String;
Required methods
fn to_camel_case(&self) -> String
[src]
fn is_camel_case(&self) -> bool
[src]
fn to_pascal_case(&self) -> String
[src]
fn is_pascal_case(&self) -> bool
[src]
fn to_snake_case(&self) -> String
[src]
fn is_snake_case(&self) -> bool
[src]
fn to_screaming_snake_case(&self) -> String
[src]
fn is_screaming_snake_case(&self) -> bool
[src]
fn to_kebab_case(&self) -> String
[src]
fn is_kebab_case(&self) -> bool
[src]
fn to_train_case(&self) -> String
[src]
fn is_train_case(&self) -> bool
[src]
fn to_sentence_case(&self) -> String
[src]
fn is_sentence_case(&self) -> bool
[src]
fn to_title_case(&self) -> String
[src]
fn is_title_case(&self) -> bool
[src]
fn ordinalize(&self) -> String
[src]
fn deordinalize(&self) -> String
[src]
fn to_foreign_key(&self) -> String
[src]
fn is_foreign_key(&self) -> bool
[src]
fn demodulize(&self) -> String
[src]
fn deconstantize(&self) -> String
[src]
fn to_class_case(&self) -> String
[src]
fn is_class_case(&self) -> bool
[src]
fn to_table_case(&self) -> String
[src]
fn is_table_case(&self) -> bool
[src]
fn to_plural(&self) -> String
[src]
fn to_singular(&self) -> String
[src]
Implementations on Foreign Types
impl Inflector for String
[src]
impl Inflector for String
[src]fn to_camel_case(&self) -> String
[src]
fn is_camel_case(&self) -> bool
[src]
fn to_pascal_case(&self) -> String
[src]
fn is_pascal_case(&self) -> bool
[src]
fn to_screaming_snake_case(&self) -> String
[src]
fn is_screaming_snake_case(&self) -> bool
[src]
fn to_snake_case(&self) -> String
[src]
fn is_snake_case(&self) -> bool
[src]
fn to_kebab_case(&self) -> String
[src]
fn is_kebab_case(&self) -> bool
[src]
fn to_train_case(&self) -> String
[src]
fn is_train_case(&self) -> bool
[src]
fn to_sentence_case(&self) -> String
[src]
fn is_sentence_case(&self) -> bool
[src]
fn to_title_case(&self) -> String
[src]
fn is_title_case(&self) -> bool
[src]
fn to_foreign_key(&self) -> String
[src]
fn is_foreign_key(&self) -> bool
[src]
fn ordinalize(&self) -> String
[src]
fn deordinalize(&self) -> String
[src]
fn to_class_case(&self) -> String
[src]
fn is_class_case(&self) -> bool
[src]
fn to_table_case(&self) -> String
[src]
fn is_table_case(&self) -> bool
[src]
fn to_plural(&self) -> String
[src]
fn to_singular(&self) -> String
[src]
fn demodulize(&self) -> String
[src]
fn deconstantize(&self) -> String
[src]
impl Inflector for str
[src]
impl Inflector for str
[src]