![](https://www.hackingwithrust.net/wp-content/uploads/2023/06/pexels-thomas-balabaud-1579708.jpg)
The Decorator pattern: an easy way to add functionality
Introduction The Decorator pattern can be used to dynamically alter or add functionality to existing classes. This pattern...
![](https://www.hackingwithrust.net/wp-content/uploads/2023/04/pexels-ready-made-3847467.jpg)
Design Patterns in Rust: Memento or how to undo your actions
Introduction The memento pattern can be used to (partially) expose the internal state of an object. One use...
![](https://www.hackingwithrust.net/wp-content/uploads/2023/04/pexels-mikhail-nilov-7663143.jpg)
Easy State Management: Unleashing the Power of the State Pattern in Rust
Introduction The state pattern is a behavourial state pattern, which allows an object to change its behaviour when...
![](https://www.hackingwithrust.net/wp-content/uploads/2023/04/pexels-rodion-kutsaiev-7911758-1.jpg)
Design Patterns in Rust: The Template Method made easy
Introduction The template method pattern is a behavourial design pattern which allows you to define the template, or...
![](https://www.hackingwithrust.net/wp-content/uploads/2023/04/pexels-emre-can-acer-2079622.jpg)
Easy Generic Builders: Streamlining Object Construction with the Builder Pattern in Rust
Introduction In a previous post I described the Builder pattern in Rust. However, even though the solution worked,...