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
impl
block. - 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_block
with the generated items. - complete_
impl - Invokes the generator on each unimplemented item
and returns a clone of
impl_block
with the generated items. - completer_
derive_ filler - Shorthand from
derive_filler
tocomplete_derive
(proc_macro
version). - completer_
derive_ filler2 - Shorthand from
derive_filler
tocomplete_derive
(proc_macro2
version). - completer_
impl_ filler - Shorthand from
impl_filler
tocomplete_impl
(proc_macro
version). - completer_
impl_ filler2 - Shorthand from
impl_filler
tocomplete_impl
(proc_macro2
version). - 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())
.