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