[][src]Trait gflags::custom::Value

pub trait Value: Sized + 'static {
    fn parse(arg: Arg) -> Result<Self>;
}

Types that may be the data type of a flag.

The gflags library provides implementations of Value for several primitive types like &str and u64. Refer to the module documentation for an example of implementing Value for your own types.

Required methods

fn parse(arg: Arg) -> Result<Self>

Loading content...

Implementations on Foreign Types

impl Value for bool
[src]

impl Value for &'static str
[src]

impl Value for &'static OsStr
[src]

impl Value for &'static Path
[src]

impl Value for u8
[src]

impl Value for u16
[src]

impl Value for u32
[src]

impl Value for u64
[src]

impl Value for u128
[src]

impl Value for usize
[src]

impl Value for i8
[src]

impl Value for i16
[src]

impl Value for i32
[src]

impl Value for i64
[src]

impl Value for i128
[src]

impl Value for isize
[src]

Loading content...

Implementors

Loading content...