valust_utils::casing

Function to_snake

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

Converts a string to Snake.

Alias for to_case(Case::Snake).

Snake case strings are delimited by underscores _ and are all lowercase.