pub trait CommandLineParserTrait: CommandLineParserTraitConst {
// Required method
fn as_raw_mut_CommandLineParser(&mut self) -> *mut c_void;
// Provided methods
fn set(&mut self, parser: &impl CommandLineParserTraitConst) -> Result<()> { ... }
fn about(&mut self, message: &str) -> Result<()> { ... }
}
Expand description
Mutable methods for core::CommandLineParser
Required Methods§
fn as_raw_mut_CommandLineParser(&mut self) -> *mut c_void
Provided Methods§
Sourcefn set(&mut self, parser: &impl CommandLineParserTraitConst) -> Result<()>
fn set(&mut self, parser: &impl CommandLineParserTraitConst) -> Result<()>
Assignment operator
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.