[][src]Enum option_set::CaseTransform

pub enum CaseTransform {
    Identity,
    LowerSnake,
    UpperSnake,
    LowerCamel,
    UpperCamel,
    Kebab,
    Title,
}

Type that knows how to transform the case of individual option flag names.

Variants

Identity

Do not transform the name.

LowerSnake

lower_snake_case

UpperSnake

UPPER_SNAKE_CASE

LowerCamel

lowerCamelCase

UpperCamel

UpperCamelCase

Kebab

kebab-case

Title

Title Case

Trait Implementations

impl Clone for CaseTransform[src]

impl Copy for CaseTransform[src]

impl Debug for CaseTransform[src]

impl Default for CaseTransform[src]

impl Eq for CaseTransform[src]

impl Hash for CaseTransform[src]

impl Ord for CaseTransform[src]

impl PartialEq<CaseTransform> for CaseTransform[src]

impl PartialOrd<CaseTransform> for CaseTransform[src]

impl StructuralEq for CaseTransform[src]

impl StructuralPartialEq for CaseTransform[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.