Skip to main content

ConfigExt

Trait ConfigExt 

Source
pub trait ConfigExt {
    // Required method
    fn with_config(self, config: &Config) -> Self;
}
Expand description

Extension trait for applying configuration to CommandBuilder.

Required Methods§

Source

fn with_config(self, config: &Config) -> Self

Applies this configuration to a command builder.

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§