Skip to main content

GetOptsExt

Trait GetOptsExt 

Source
pub trait GetOptsExt {
    // Required methods
    fn optflagreqopt(
        &mut self,
        short_name: &str,
        long_name: &str,
        desc: &str,
        hint: &str,
    ) -> &mut Self;
    fn optflagmultiopt(
        &mut self,
        short_name: &str,
        long_name: &str,
        desc: &str,
        hint: &str,
    ) -> &mut Self;
}
Expand description

getopts_options *? and +? support

Required Methods§

Source

fn optflagreqopt( &mut self, short_name: &str, long_name: &str, desc: &str, hint: &str, ) -> &mut Self

Source

fn optflagmultiopt( &mut self, short_name: &str, long_name: &str, desc: &str, hint: &str, ) -> &mut Self

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.

Implementations on Foreign Types§

Source§

impl GetOptsExt for Options

Source§

fn optflagreqopt( &mut self, short_name: &str, long_name: &str, desc: &str, hint: &str, ) -> &mut Self

Source§

fn optflagmultiopt( &mut self, short_name: &str, long_name: &str, desc: &str, hint: &str, ) -> &mut Self

Implementors§