pub enum EnumTransformation {
Uppercase,
Lowercase,
Snakecase,
Camelcase,
Pascalcase,
}Expand description
Enum representing various string transformation types.
These transformations can be applied to strings to convert them into different cases, such as uppercase, lowercase, snake case, camel case, or pascal case.
Variants§
Uppercase
Converts the string to uppercase.
Lowercase
Converts the string to lowercase.
Snakecase
Converts the string to snake case.
Camelcase
Converts the string to camel case.
Pascalcase
Converts the string to pascal case.
Implementations§
Trait Implementations§
Source§impl Clone for EnumTransformation
impl Clone for EnumTransformation
Source§fn clone(&self) -> EnumTransformation
fn clone(&self) -> EnumTransformation
Returns a copy 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 EnumTransformation
impl Debug for EnumTransformation
Source§impl PartialEq for EnumTransformation
impl PartialEq for EnumTransformation
Source§impl TryFrom<String> for EnumTransformation
impl TryFrom<String> for EnumTransformation
impl Eq for EnumTransformation
impl StructuralPartialEq for EnumTransformation
Auto Trait Implementations§
impl Freeze for EnumTransformation
impl RefUnwindSafe for EnumTransformation
impl Send for EnumTransformation
impl Sync for EnumTransformation
impl Unpin for EnumTransformation
impl UnwindSafe for EnumTransformation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.