[][src]Trait argh::Flag

pub trait Flag {
    fn default() -> Self
    where
        Self: Sized
;
fn set_flag(&mut self); }

A type which can be the receiver of a Flag.

Required methods

fn default() -> Self where
    Self: Sized

Creates a default instance of the flag value;

fn set_flag(&mut self)

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

Loading content...

Implementations on Foreign Types

impl Flag for bool[src]

impl Flag for u8[src]

impl Flag for u16[src]

impl Flag for u32[src]

impl Flag for u64[src]

impl Flag for u128[src]

impl Flag for i8[src]

impl Flag for i16[src]

impl Flag for i32[src]

impl Flag for i64[src]

impl Flag for i128[src]

Loading content...

Implementors

Loading content...