Skip to content

Dyn practice problems in Rust

Difficulty:
Category:
Tag:

Showing 7 of 7

Status Title Difficulty
Box<dyn Trait>: trait objects, DSTs and dynamic dispatch Medium
Dispatch through Rc: Rc<dyn Trait> and shared behaviour Medium
Dyn compatibility: the actual rules Hard
Returning impl Trait, and what edition 2024 changed Hard
Static vs dynamic dispatch, measured Hard
Supertraits and default methods Medium
Trait objects and lifetimes: Box<dyn Trait + 'a> Hard