[][src]Trait preftool_clap::ClapConfig

pub trait ClapConfig {
    fn configure<'c>(
        app: &mut AppBuilder,
        context: Context<'c>,
        help: Option<&'static str>
    );
fn populate<'a, 'c>(
        builder: &mut ConfigurationProviderBuilder,
        matches: &ArgMatches<'a>,
        context: Context<'c>
    ); }

Required methods

fn configure<'c>(
    app: &mut AppBuilder,
    context: Context<'c>,
    help: Option<&'static str>
)

fn populate<'a, 'c>(
    builder: &mut ConfigurationProviderBuilder,
    matches: &ArgMatches<'a>,
    context: Context<'c>
)

Loading content...

Implementations on Foreign Types

impl ClapConfig for String[src]

impl<T: ClapConfig> ClapConfig for Option<T>[src]

impl ClapConfig for usize[src]

Loading content...

Implementors

Loading content...