Skip to content

Dispatch practice problems in Rust

Difficulty:
Category:
Tag:

Showing 5 of 5

Status Title Difficulty
Box<dyn Trait>: trait objects, DSTs and dynamic dispatch Medium
Dispatch through Rc: Rc<dyn Trait> and shared behaviour Medium
Enum dispatch: the third option Medium
Static vs dynamic dispatch, measured Hard
Traits as shared behaviour Easy