Expand description
Framework for developing portrait filler macros.
§Example
Macros§
- proc_
macro_ derive_ filler - One-line wrapper that declares a filler macro.
- proc_
macro_ impl_ filler - One-line wrapper that declares a filler macro.
Structs§
- Derive
Context - Available context parameters passed to generators.
- Impl
Context - Available context parameters passed to generators.
- Impl
Item Map - Indexes items in an impl block by namespaced identifier.
- NoArgs
- No arguments accepted by the macro.
- Trait
Item Map - Indexes items in a trait by namespaced identifier.
Traits§
- Fill
Derive - Determines how to derive an impl.
- Fill
Impl - Determines how to fill an
implblock. - Generate
Derive - Generates missing items.
- Generate
Impl - Generates missing items.
Functions§
- complete_
derive - Invokes the generator on each unimplemented item
and returns a clone of
impl_blockwith the generated items. - complete_
impl - Invokes the generator on each unimplemented item
and returns a clone of
impl_blockwith the generated items. - completer_
derive_ filler - Shorthand from
derive_fillertocomplete_derive(proc_macroversion). - completer_
derive_ filler2 - Shorthand from
derive_fillertocomplete_derive(proc_macro2version). - completer_
impl_ filler - Shorthand from
impl_fillertocomplete_impl(proc_macroversion). - completer_
impl_ filler2 - Shorthand from
impl_fillertocomplete_impl(proc_macro2version). - derive_
filler - Parses the macro input directly and passes them to the filler.
- impl_
filler - Parses the macro input directly and passes them to the filler.
- subtract_
items - Shorthand for
TraitItemMap::new().minus(ImplItemMap::new()).