diff options
Diffstat (limited to 'third_party/rust/Inflector/src/cases/mod.rs')
-rw-r--r-- | third_party/rust/Inflector/src/cases/mod.rs | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/third_party/rust/Inflector/src/cases/mod.rs b/third_party/rust/Inflector/src/cases/mod.rs new file mode 100644 index 0000000000..dfa772e801 --- /dev/null +++ b/third_party/rust/Inflector/src/cases/mod.rs @@ -0,0 +1,52 @@ +mod case; +/// Provides conversion to and detection of class case strings. +/// +/// This version singularizes strings. +/// +/// Example string `ClassCase` +pub mod classcase; + +/// Provides conversion to and detection of camel case strings. +/// +/// Example string `camelCase` +pub mod camelcase; + +/// Provides conversion to and detection of snake case strings. +/// +/// Example string `snake_case` +pub mod snakecase; + +/// Provides conversion to and detection of screaming snake case strings. +/// +/// Example string `SCREAMING_SNAKE_CASE` +pub mod screamingsnakecase; + +/// Provides conversion to and detection of kebab case strings. +/// +/// Example string `kebab-case` +pub mod kebabcase; + +/// Provides conversion to and detection of train case strings. +/// +/// Example string `Train-Case` +pub mod traincase; + +/// Provides conversion to and detection of sentence case strings. +/// +/// Example string `Sentence case` +pub mod sentencecase; + +/// Provides conversion to and detection of title case strings. +/// +/// Example string `Title Case` +pub mod titlecase; + +/// Provides conversion to and detection of table case strings. +/// +/// Example string `table_cases` +pub mod tablecase; + +/// Provides conversion to pascal case strings. +/// +/// Example string `PascalCase` +pub mod pascalcase; |