[−][src]Trait structopt_flags::GetWithDefault
This trait is designed to provide a rude form of default value for options If an option doesn't have a default value, it will implement this trait
Associated Types
type Item
Required methods
fn get_with_default<T: Into<Self::Item>>(&self, default: T) -> Self::Item
This function can be used to retrieve the value of the command line option taking in account the default value used as argument