pub trait CommandBuilder: Sized {
// Required methods
fn flag(self, flag: &str) -> Self;
fn option(self, key: &str, value: &str) -> Self;
}
Expand description
Helper trait for building commands with a fluent interface
Required Methods§
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.