pub fn pascal(snake: &str) -> String
main_window → MainWindow. A hyphen separates words too.
main_window
MainWindow