valust_utils::casing

Function to_toggle

Source
pub fn to_toggle(s: impl AsRef<str>) -> String
Expand description

Converts a string to Toggle.

Alias for to_case(Case::Toggle).

Toggle case strings are delimited by spaces. All characters are uppercase except for the leading character of each word, which is lowercase.