The second Rust koan provides insight into the limitations of inheritance vs. Rust's traits and methods approach.
TomP
13
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How to implement inheritance-like feature for Rust? | 21 | 72517 | August 11, 2019 | |
| With composition over inheritance in Rust, how does one implement shared state to go with shared behaviour? | 22 | 18143 | September 14, 2020 | |
|
What is the right way of achieving Inheritance in rust
|
11 | 11306 | February 22, 2022 | |
| Suggestion for making Rust's trait system more usable for generics | 74 | 5590 | January 14, 2020 | |
| Python-like inheritance | 5 | 1019 | November 10, 2022 |