pub enum Case {
Upper,
Lower,
Title,
Toggle,
}Expand description
Specify how to change the case of a string.
Variants§
Upper
Make the targeted text uppercase.
Lower
Make the targeted text lowercase.
Title
Make the first character of the targeted text uppercase, and the rest lowercase.
Toggle
Toggle the case of each character in the targeted text.
Trait Implementations§
impl Copy for Case
impl Eq for Case
impl StructuralPartialEq for Case
Auto Trait Implementations§
impl Freeze for Case
impl RefUnwindSafe for Case
impl Send for Case
impl Sync for Case
impl Unpin 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