Skip to content

Dyn practice problems in Rust

Difficulty:
Category & tags Filters active
Category:
Tag:

Showing 7 of 7

Title Difficulty
Box<dyn Trait>: trait objects, DSTs and dynamic dispatch Medium
Dispatch through Rc: Rc<dyn Trait> and shared behaviour Medium
Keep concrete methods while enabling trait objects Hard
Returning impl Trait, and what edition 2024 changed Hard
Static vs dynamic dispatch Hard
Supertraits and default methods Medium
Trait objects and lifetimes: Box<dyn Trait + 'a> Hard