Skip to main content

AppExt

Trait AppExt 

Source
pub trait AppExt {
    // Required methods
    fn get_config<T: ClapConfig>(self) -> DefaultConfigurationProvider;
    fn get_config_from_args<T, I, S>(
        self,
        args: I,
    ) -> Result<DefaultConfigurationProvider>
       where T: ClapConfig,
             I: IntoIterator<Item = S>,
             S: Into<OsString> + Clone;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<'a, 'b> AppExt for App<'a, 'b>
where 'a: 'b,

Implementors§