Trait argh::Flag

source · []
pub trait Flag {
    fn default() -> Self
    where
        Self: Sized
; fn set_flag(&mut self); }
Expand description

A type which can be the receiver of a Flag.

Required Methods

Creates a default instance of the flag value;

Sets the flag. This function is called when the flag is provided.

Implementations on Foreign Types

Implementors