pub fn all_cases() -> Vec<Case> {
        use Case::*;
        vec![
            Upper,
            Lower,
            Title,
            Toggle,
            Camel,
            Pascal,
            UpperCamel,
            Snake,
            UpperSnake,
            ScreamingSnake,
            Kebab,
            Cobol,
            Train,
            Flat,
            UpperFlat,
            Alternating,

            #[cfg(feature = "random")]
            Random,
            #[cfg(feature = "random")]
            PseudoRandom,
        ]
    }
// Created to avoid using the EnumIter trait from strum in
// final library.  A test confirms that all cases are listed here.
/// Returns a vector with all case enum variants.  This was
/// created for use in the `ccase` binary.
Created to avoid using the EnumIter trait from strum in
final library.  A test confirms that all cases are listed here.
Returns a vector with all case enum variants.  This was
created for use in the `ccase` binary.
Created to avoid using the EnumIter trait from strum in final library . A test confirms that all cases are listed here . Returns a vector with all case enum variants . This was created for use in the ` ccase ` binary .
pub fn all_cases() -> Vec<Case> {
        use Case::*;
        vec![
            Upper,
            Lower,
            Title,
            Toggle,
            Camel,
            Pascal,
            UpperCamel,
            Snake,
            UpperSnake,
            ScreamingSnake,
            Kebab,
            Cobol,
            Train,
            Flat,
            UpperFlat,
            Alternating,
            #[cfg(feature = "random")]
            Random,
            #[cfg(feature = "random")]
            PseudoRandom,
        ]
    }
pub fn all_cases ( ) -> Vec < Case > { use Case :: * ; vec ! [ Upper Lower Title Toggle Camel Pascal UpperCamel Snake UpperSnake ScreamingSnake Kebab Cobol Train Flat UpperFlat Alternating [ cfg ( feature " " ) ] Random [ cfg ( feature " " ) ] PseudoRandom ] }
Created to avoid using the EnumIter trait from strum in
final library.
Created to avoid using the EnumIter trait from strum in final library .