Trait ClapConfigExt

Source
pub trait ClapConfigExt: ClapConfig + Sized {
    // Provided methods
    fn from_cli<'a, 'b>(app: App<'a, 'b>) -> DefaultConfigurationProvider
       where 'a: 'b { ... }
    fn from_cli_args<'a, 'b, I, S>(
        app: App<'a, 'b>,
        args: I,
    ) -> Result<DefaultConfigurationProvider>
       where I: IntoIterator<Item = S>,
             S: Into<OsString> + Clone,
             'a: 'b { ... }
}

Provided Methods§

Source

fn from_cli<'a, 'b>(app: App<'a, 'b>) -> DefaultConfigurationProvider
where 'a: 'b,

Source

fn from_cli_args<'a, 'b, I, S>( app: App<'a, 'b>, args: I, ) -> Result<DefaultConfigurationProvider>
where I: IntoIterator<Item = S>, S: Into<OsString> + Clone, 'a: 'b,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§