Skip to main content

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".

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>) -> <&str as ConfigBuildWith>::Output

Source§

fn with_name(self, name: impl Into<String>) -> <&str as ConfigBuildWith>::Output

Source§

fn with_force(self, force: bool) -> <&str as ConfigBuildWith>::Output

Source§

fn with_index(self, index: Index) -> <&str as ConfigBuildWith>::Output

Source§

fn with_alias( self, alias: Vec<impl Into<String>>, ) -> <&str as ConfigBuildWith>::Output

Source§

fn with_hint(self, hint: impl Into<String>) -> <&str as ConfigBuildWith>::Output

Source§

fn with_help(self, help: impl Into<String>) -> <&str as ConfigBuildWith>::Output

Source§

fn with_action(self, action: Action) -> <&str as ConfigBuildWith>::Output

Source§

fn with_storer(self, storer: ValStorer) -> <&str as ConfigBuildWith>::Output

Source§

fn with_initializer( self, initializer: ValInitializer, ) -> <&str as ConfigBuildWith>::Output

Source§

fn with_ignore_alias( self, ignore_alias: bool, ) -> <&str as ConfigBuildWith>::Output

Source§

fn with_ignore_index( self, ignore_index: bool, ) -> <&str as ConfigBuildWith>::Output

Source§

fn with_ignore_name( self, ignore_name: bool, ) -> <&str as ConfigBuildWith>::Output

Source§

fn with_style(self, styles: Vec<Style>) -> <&str as ConfigBuildWith>::Output

Source§

impl ConfigBuildWith for &String

Source§

impl ConfigBuildWith for String

Implementors§