Estes códigos são utilizados para fins de estudo pessoal a respeito dos Padrões de Design em Rust. Eles vieram de várias fontes, logo, os créditos devem ir para os autores, que podem ser encontrados nos links abaixo. Alguns dos códigos são pacialmente modificados, e praticamente em todos existem comentários em português para melhor compreensão de algumas nuances dos padrões.
Créditos:
- https://refactoring.guru
- https://sourcemaking.com
- https://en.wikipedia.org/wiki/Factory_method_pattern
- https://github.com/fadeevab/design-patterns-rust
- https://github.com/lpxxn/rust-design-pattern
- https://chercher.tech/rust/decorator-design-pattern-rust
- https://impl.rs/blog/rust-decorator-pattern/
- https://www.hackingwithrust.net/2023/06/03/the-decorator-pattern-an-easy-way-to-add-functionality/
- https://github.com/arkada38/Rust-Design-Patterns
- https://www.youtube.com/playlist?list=PLbIBj8vQhvm0VY5YrMrafWaQY2EnJ3j8H
- https://github.com/fadeevab/mediator-pattern-rust
- https://rust-unofficial.github.io/patterns/patterns/behavioural/interpreter.html
- https://rust-unofficial.github.io/patterns/patterns/behavioural/newtype.html
- https://www.worthe-it.co.za/blog/2020-10-31-newtype-pattern-in-rust.html
- https://aloso.github.io/2021/03/18/raii-guards.html
- https://rust-unofficial.github.io/patterns/patterns/structural/compose-structs.html
- https://users.rust-lang.org/t/fold-pattern-compared-with-visitor-pattern/77480/2