GitHub: GitHub - SOF3/portrait: Fills an `impl` with the associated items required by the trait.
Crates.io: https://crates.io/crates/portrait
Docs: portrait - Rust
Portrait uses the idea from macro_rules_attribute
to use declarative macros to pass data to an attribute statically so that the attribute knows about the contents in the trait (see discussion in [Pre-RFC} Declarative attribute aliases - language design - Rust Internals). See the repo readme for details.