Crate portrait_framework
source ·Expand description
Framework for developing portrait filler macros.
Example
Macros
- One-line wrapper that declares a filler macro.
Structs
- Available context parameters passed to generators.
- Indexes items in an impl block by namespaced identifier.
- No arguments accepted by the macro.
- Indexes items in a trait by namespaced identifier.
Traits
- Determines how to fill the implementation of a trait.
- Generates missing items.
Functions
- Invokes the generator on each unimplemented item and returns a clone of
impl_blockwith the generated items. - Parses the macro input directly and passes them to the completer.
- Shorthand for
TraitItemMap::new().minus(ImplItemMap::new()).