pub enum CaseOp {
UpperFirst,
UpperAll,
LowerFirst,
LowerAll,
}Expand description
Case transformation in ${name^}, ${name^^}, etc.
Variants§
UpperFirst
${name^} — uppercase first char.
UpperAll
${name^^} — uppercase all.
LowerFirst
${name,} — lowercase first char.
LowerAll
${name,,} — lowercase all.
Trait Implementations§
impl Copy for CaseOp
impl Eq for CaseOp
impl StructuralPartialEq for CaseOp
Auto Trait Implementations§
impl Freeze for CaseOp
impl RefUnwindSafe for CaseOp
impl Send for CaseOp
impl Sync for CaseOp
impl Unpin for CaseOp
impl UnsafeUnpin for CaseOp
impl UnwindSafe for CaseOp
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