ConfigBuildWith

Trait ConfigBuildWith 

Source
pub trait ConfigBuildWith {
    type Output;

Show 14 methods // Required methods fn with_ctor(self, ctor: impl Into<String>) -> Self::Output; fn with_name(self, name: impl Into<String>) -> Self::Output; fn with_force(self, force: bool) -> Self::Output; fn with_index(self, index: Index) -> Self::Output; fn with_alias(self, alias: Vec<impl Into<String>>) -> Self::Output; fn with_hint(self, hint: impl Into<String>) -> Self::Output; fn with_help(self, help: impl Into<String>) -> Self::Output; fn with_action(self, action: Action) -> Self::Output; fn with_storer(self, storer: ValStorer) -> Self::Output; fn with_initializer(self, initializer: ValInitializer) -> Self::Output; fn with_ignore_alias(self, ignore_alias: bool) -> Self::Output; fn with_ignore_index(self, ignore_index: bool) -> Self::Output; fn with_ignore_name(self, ignore_name: bool) -> Self::Output; fn with_style(self, styles: Vec<Style>) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn with_ctor(self, ctor: impl Into<String>) -> Self::Output

Source

fn with_name(self, name: impl Into<String>) -> Self::Output

Source

fn with_force(self, force: bool) -> Self::Output

Source

fn with_index(self, index: Index) -> Self::Output

Source

fn with_alias(self, alias: Vec<impl Into<String>>) -> Self::Output

Source

fn with_hint(self, hint: impl Into<String>) -> Self::Output

Source

fn with_help(self, help: impl Into<String>) -> Self::Output

Source

fn with_action(self, action: Action) -> Self::Output

Source

fn with_storer(self, storer: ValStorer) -> Self::Output

Source

fn with_initializer(self, initializer: ValInitializer) -> Self::Output

Source

fn with_ignore_alias(self, ignore_alias: bool) -> Self::Output

Source

fn with_ignore_index(self, ignore_index: bool) -> Self::Output

Source

fn with_ignore_name(self, ignore_name: bool) -> Self::Output

Source

fn with_style(self, styles: Vec<Style>) -> Self::Output

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 ConfigBuildWith for &str

Source§

type Output = ConfigBuilderWith<OptConfig, &str, Placeholder>

Source§

fn with_ctor(self, ctor: impl Into<String>) -> Self::Output

Source§

fn with_name(self, name: impl Into<String>) -> Self::Output

Source§

fn with_force(self, force: bool) -> Self::Output

Source§

fn with_index(self, index: Index) -> Self::Output

Source§

fn with_alias(self, alias: Vec<impl Into<String>>) -> Self::Output

Source§

fn with_hint(self, hint: impl Into<String>) -> Self::Output

Source§

fn with_help(self, help: impl Into<String>) -> Self::Output

Source§

fn with_action(self, action: Action) -> Self::Output

Source§

fn with_storer(self, storer: ValStorer) -> Self::Output

Source§

fn with_initializer(self, initializer: ValInitializer) -> Self::Output

Source§

fn with_ignore_alias(self, ignore_alias: bool) -> Self::Output

Source§

fn with_ignore_index(self, ignore_index: bool) -> Self::Output

Source§

fn with_ignore_name(self, ignore_name: bool) -> Self::Output

Source§

fn with_style(self, styles: Vec<Style>) -> Self::Output

Source§

impl ConfigBuildWith for &String

Source§

type Output = ConfigBuilderWith<OptConfig, &String, Placeholder>

Source§

fn with_ctor(self, ctor: impl Into<String>) -> Self::Output

Source§

fn with_name(self, name: impl Into<String>) -> Self::Output

Source§

fn with_force(self, force: bool) -> Self::Output

Source§

fn with_index(self, index: Index) -> Self::Output

Source§

fn with_alias(self, alias: Vec<impl Into<String>>) -> Self::Output

Source§

fn with_hint(self, hint: impl Into<String>) -> Self::Output

Source§

fn with_help(self, help: impl Into<String>) -> Self::Output

Source§

fn with_action(self, action: Action) -> Self::Output

Source§

fn with_storer(self, storer: ValStorer) -> Self::Output

Source§

fn with_initializer(self, initializer: ValInitializer) -> Self::Output

Source§

fn with_ignore_alias(self, ignore_alias: bool) -> Self::Output

Source§

fn with_ignore_index(self, ignore_index: bool) -> Self::Output

Source§

fn with_ignore_name(self, ignore_name: bool) -> Self::Output

Source§

fn with_style(self, styles: Vec<Style>) -> Self::Output

Source§

impl ConfigBuildWith for String

Source§

type Output = ConfigBuilderWith<OptConfig, String, Placeholder>

Source§

fn with_ctor(self, ctor: impl Into<String>) -> Self::Output

Source§

fn with_name(self, name: impl Into<String>) -> Self::Output

Source§

fn with_force(self, force: bool) -> Self::Output

Source§

fn with_index(self, index: Index) -> Self::Output

Source§

fn with_alias(self, alias: Vec<impl Into<String>>) -> Self::Output

Source§

fn with_hint(self, hint: impl Into<String>) -> Self::Output

Source§

fn with_help(self, help: impl Into<String>) -> Self::Output

Source§

fn with_action(self, action: Action) -> Self::Output

Source§

fn with_storer(self, storer: ValStorer) -> Self::Output

Source§

fn with_initializer(self, initializer: ValInitializer) -> Self::Output

Source§

fn with_ignore_alias(self, ignore_alias: bool) -> Self::Output

Source§

fn with_ignore_index(self, ignore_index: bool) -> Self::Output

Source§

fn with_ignore_name(self, ignore_name: bool) -> Self::Output

Source§

fn with_style(self, styles: Vec<Style>) -> Self::Output

Implementors§