Struct heck::AsLowerCamelCase
source · pub struct AsLowerCamelCase<T: AsRef<str>>(pub T);
Expand description
This wrapper performs a lower camel case conversion in fmt::Display
.
Example:
use heck::AsLowerCamelCase;
let sentence = "It is we who built these palaces and cities.";
assert_eq!(format!("{}", AsLowerCamelCase(sentence)), "itIsWeWhoBuiltThesePalacesAndCities");
Tuple Fields§
§0: T