Rust Coding Example Python Class Inheritance