Y
Hacker News
new
|
ask
|
show
|
jobs
by
pentachoron
1441 days ago
Not a Rust expert but: doesn't Rust support this use-case via Box<dyn SomeTrait> , and leveraging default Trait methods, only overriding the defaults you want to for each type implementing the Trait?