pub struct NameVal<'a> {
pub opt: &'a Opt<'a>,
pub val: Option<&'a str>,
pub was_long: bool,
}
Expand description
Entity as the result of lex
long name or short name
At the compiling with feature = “was_long”,
this return a result according to a command line keyword
Otherwise this return long name or short name.
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.