tusks-lib 3.0.0

Declarative CLI framework built on top of clap
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
mod module;

use syn::ItemMod;

/// Code generation phase: supplements Parameters structs with
/// `super_` fields, lifetime markers, and missing struct definitions.
pub trait ParametersCodegen {
    fn supplement_parameters(
        &mut self,
        module: &mut ItemMod,
        is_tusks_root: bool,
        derive_debug: bool,
    ) -> syn::Result<()>;
}