pub enum Case {
Pascal,
Snake,
ScreamingSnake,
}Expand description
Casing to apply when converting a name.
Variants§
Pascal
PascalCase — used for types and enum variants.
Snake
snake_case — used for struct fields.
ScreamingSnake
SCREAMING_SNAKE_CASE — used for const/static items.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Case
impl RefUnwindSafe for Case
impl Send for Case
impl Sync for Case
impl Unpin for Case
impl UnsafeUnpin for Case
impl UnwindSafe for Case
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