Home
last modified time | relevance | path

Searched refs:TypedValueParser (Results 1 – 6 of 6) sorted by relevance

/third_party/rust/crates/clap/src/builder/
Dvalue_parser.rs109 P: TypedValueParser, in new() argument
284 P: TypedValueParser + Send + Sync + 'static,
599 P: TypedValueParser<Value = T>,
607 let value = ok!(TypedValueParser::parse_ref(self, cmd, arg, value)); in parse_ref()
617 let value = ok!(TypedValueParser::parse(self, cmd, arg, value)); in parse()
685 pub trait TypedValueParser: Clone + Send + Sync + 'static { interface
816 impl<F, T, E> TypedValueParser for F
860 impl TypedValueParser for StringValueParser {
869 TypedValueParser::parse(self, cmd, arg, value.to_owned()) in parse_ref()
908 impl TypedValueParser for OsStringValueParser {
[all …]
Dmod.rs52 pub use value_parser::TypedValueParser;
/third_party/rust/crates/clap/tests/derive_ui/
Dtuple_struct.stderr21 candidate #2: `TypedValueParser`
/third_party/rust/crates/clap/examples/
Dtyped-derive.rs1 use clap::builder::TypedValueParser as _;
/third_party/rust/crates/clap/tests/derive/
Dflags.rs16 use clap::builder::TypedValueParser as _;
/third_party/rust/crates/clap/
DCHANGELOG.md203 - Added `TypedValueParser::try_map` for when adapting an existing `TypedValueParser` can fail
493 …could use `Arg::value_delimiter` or implement a custom parser with `TypedValueParser` as it was mo…
719 - `Arg::validator_regex` with users providing their own `builder::TypedValueParser` (#3756)
747 …- For most other cases, a type implementing `TypedValueParser` will be needed and specify it with …
752 - Several built-in `TypedValueParser`s available with an API open for expansion