pub fn str_to_case<S: AsRef<str>>(s: S, case: Case<'_>) -> String
Converts a string to the specified case.