Trait IntoApp

Source
pub trait IntoApp: Sized {
    // Required methods
    fn into_app<'b>() -> App<'b>;
    fn augment_clap(app: App<'_>) -> App<'_>;
}
Expand description

Build an App according to the struct

Also serves for flattening

Required Methods§

Source

fn into_app<'b>() -> App<'b>

@TODO @release @docs

Source

fn augment_clap(app: App<'_>) -> App<'_>

@TODO @release @docs

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.

Implementations on Foreign Types§

Source§

impl<T: IntoApp> IntoApp for Box<T>

Source§

fn into_app<'b>() -> App<'b>

Source§

fn augment_clap(app: App<'_>) -> App<'_>

Implementors§