Polymorphism in Rust
Overview Rust doesn’t support the traditional concept of inheritance, and given that many popular modern languages do, that can be a little tough for some folks to come to terms with. Some even argue that a language cannot be considered "object oriented" if it doesn't support inheritance. But Rust does support polymorphism, and you can still write object oriented Rust in a way that is pretty similar to other languages.