You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
patterns/README.md

32 lines
583 B
Markdown

9 years ago
# Rust Design Patterns
An open source repository of design patterns and idioms in the Rust programming
language.
## Contents
[Introduction](intro.md)
### Idioms
* [Constructor](idioms/ctor.md)
9 years ago
### Design patterns
* Builder
* RAII
### Anti-patterns
* Clone to satisfy the borrow checker
* Deref polymorphism
## Contributing
You should start with [the template](template.md). Copy it into the appropriate
directory, edit it, and submit a PR. You might not want every section, and you
might want to add extra sections. Correction and elaboration PRs are also very
welcome.