Glossary: Software Design Patterns in Rust
Dependency inversion principle (DIP)
Also written: DIP, dependency inversion
The SOLID rule that high-level code shouldn't depend on low-level details. Both depend on a trait, and the detail is passed in.
Glossary: Software Design Patterns in Rust
Also written: DIP, dependency inversion
The SOLID rule that high-level code shouldn't depend on low-level details. Both depend on a trait, and the detail is passed in.