Home
last modified time | relevance | path

Searched refs:PosBuilder (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/clap/src/args/arg_builder/
Dpositional.rs18 pub struct PosBuilder<'n, 'e> struct
27 impl<'n, 'e> PosBuilder<'n, 'e> { impl
29 PosBuilder { in new()
37 let mut pb = PosBuilder { in from_arg_ref()
58 PosBuilder { in from_arg()
106 impl<'n, 'e> Display for PosBuilder<'n, 'e> { implementation
137 impl<'n, 'e> AnyArg<'n, 'e> for PosBuilder<'n, 'e> { implementation
224 impl<'n, 'e> DispOrder for PosBuilder<'n, 'e> { implementation
230 impl<'n, 'e> PartialEq for PosBuilder<'n, 'e> { implementation
231 fn eq(&self, other: &PosBuilder<'n, 'e>) -> bool { in eq()
[all …]
Dmod.rs4 pub use self::positional::PosBuilder;
/external/rust/crates/clap/src/args/
Dmod.rs3 pub use self::arg_builder::{Base, FlagBuilder, OptBuilder, PosBuilder, Switched, Valued};
/external/rust/crates/clap/src/app/
Dusage.rs8 use args::{AnyArg, ArgMatcher, PosBuilder};
107 let not_req_or_hidden = |p: &PosBuilder| { in create_help_usage()
441 .collect::<BTreeMap<u64, &PosBuilder>>() // sort by index in get_required_usage_from()
450 .collect::<BTreeMap<u64, &PosBuilder>>() // sort by index in get_required_usage_from()
Dparser.rs28 AnyArg, Arg, ArgGroup, ArgMatcher, Base, FlagBuilder, OptBuilder, PosBuilder, Switched,
66 pub positionals: VecMap<PosBuilder<'a, 'b>>,
314 .insert(i, PosBuilder::from_arg(a, i as u64)); in add_arg()
338 let pb = PosBuilder::from_arg_ref(a, i as u64); in add_arg_ref()
804 let mut pb = PosBuilder::new("subcommand", 1); in parse_help_subcommand()
2143 pub fn positionals(&self) -> map::Values<PosBuilder<'a, 'b>> { in positionals()