Open simonsan opened 3 years ago
Tracking discussion on merging: https://github.com/lpxxn/rust-design-pattern/issues/7
Another example can be found here: https://web.archive.org/web/20210223130852/https://chercher.tech/rust/decorator-design-pattern-rust
URL broken.
Is the example even considered decorator? Shouldn't it be something like actix-web-codegen or rocket proc macro that looks more like a decorator?
Tracking issue for merging: https://github.com/lpxxn/rust-design-pattern/blob/master/structural/decorator.rs
Example: