pub fn to_snake(ident: &str) -> StringExpand description
Convert a Rust identifier (CamelCase, SCREAMING_SNAKE, or mixed) into a snake_case module file stem.
Examples: Foo → foo, HTTPServer → http_server, MAX_SIZE → max_size,
IOError → io_error, parse_input → parse_input.