Rust: Reduce verbosity of the example code

Yes, this style is common. Also, rust-sdl2 currently requires cargo.