Trait gflags::custom::Value

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

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§

Implementations on Foreign Types§

Implementors§