Rust Minimum Function Python Definition