Skip to content

Glossary: Software Design Patterns in Rust

Inheritance

A feature of class-based languages where a child class reuses its parent's code. Rust has none and uses traits and composition instead.

Where the book teaches it

Related terms

CompositionHas-a / is-aType explosion