pub enum Inflection {
Lower,
Upper,
Camel,
Snake,
Pascal,
ScreamingSnake,
Kebab,
ScreamingKebab,
}Expand description
Field/variant name inflection.
Variants§
Lower
"lowercase" — all lowercase, no separators.
Upper
"UPPERCASE" — all uppercase, no separators.
Camel
"camelCase"
Snake
"snake_case"
Pascal
"PascalCase"
ScreamingSnake
"SCREAMING_SNAKE_CASE"
Kebab
"kebab-case"
ScreamingKebab
"SCREAMING-KEBAB-CASE"
Implementations§
Trait Implementations§
Source§impl Clone for Inflection
impl Clone for Inflection
Source§fn clone(&self) -> Inflection
fn clone(&self) -> Inflection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Inflection
impl Debug for Inflection
Source§impl PartialEq for Inflection
impl PartialEq for Inflection
impl Eq for Inflection
impl StructuralPartialEq for Inflection
Auto Trait Implementations§
impl Freeze for Inflection
impl RefUnwindSafe for Inflection
impl Send for Inflection
impl Sync for Inflection
impl Unpin for Inflection
impl UnsafeUnpin for Inflection
impl UnwindSafe for Inflection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more