EN | DE

Stage 8.3: Rust Is Not OOP

Rust lacks inheritance of data and behavior in any meaningful way:

  • Structs cannot inherit fields from a parent struct.
  • Structs cannot inherit functions from a parent struct.

That said, Rust implements many programming language features, so that you might not mind this lacking.

Rust mascot Ferris