Trait CommandLineParserTrait

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

Provided Methods§

Source

fn set(&mut self, parser: &impl CommandLineParserTraitConst) -> Result<()>

Assignment operator

Source

fn about(&mut self, message: &str) -> Result<()>

Set the about message

The about message will be shown when [printMessage] is called, right before arguments table.

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.

Implementors§