Home
last modified time | relevance | path

Searched refs:PossibleValuesParser (Results 1 – 4 of 4) sorted by relevance

/third_party/rust/crates/clap/examples/
Dtyped-derive.rs32 value_parser = clap::builder::PossibleValuesParser::new(["22", "80"])
41 …value_parser = clap::builder::PossibleValuesParser::new(["info", "debug", "info", "warn", "error"])
/third_party/rust/crates/clap/src/builder/
Dmod.rs48 pub use value_parser::PossibleValuesParser;
Dvalue_parser.rs506 let inner = PossibleValuesParser::from(values);
541 let inner = PossibleValuesParser::from(values); in from()
1139 pub struct PossibleValuesParser(Vec<super::PossibleValue>); struct
1141 impl PossibleValuesParser { implementation
1143 pub fn new(values: impl Into<PossibleValuesParser>) -> Self { in new()
1148 impl TypedValueParser for PossibleValuesParser { implementation
1201 impl<I, T> From<I> for PossibleValuesParser implementation
/third_party/rust/crates/clap/
DCHANGELOG.md721 - `Arg::possible_values` with `Arg::value_parser([...])`, `builder::PossibleValuesParser`, or `buil…