Home
last modified time | relevance | path

Searched refs:AnyArg (Results 1 – 16 of 16) sorted by relevance

/external/rust/crates/clap/src/
Derrors.rs11 use args::AnyArg;
412 arg: &AnyArg, in argument_conflict() argument
450 pub fn empty_value<U>(arg: &AnyArg, usage: U, color: ColorWhen) -> Self in empty_value() argument
478 arg: &AnyArg, in invalid_value() argument
663 pub fn too_many_values<V, U>(val: V, arg: &AnyArg, usage: U, color: ColorWhen) -> Self in too_many_values() argument
692 arg: &AnyArg, in too_few_values() argument
725 pub fn value_validation(arg: Option<&AnyArg>, err: String, color: ColorWhen) -> Self { in value_validation() argument
748 let n: Option<&AnyArg> = None; in value_validation_auto()
754 arg: &AnyArg, in wrong_number_of_values() argument
789 pub fn unexpected_multiple_usage<U>(arg: &AnyArg, usage: U, color: ColorWhen) -> Self in unexpected_multiple_usage() argument
Dmacros.rs972 fn as_trait_obj<'a, 'b, T: AnyArg<'a, 'b>>(x: &T) -> &AnyArg<'a, 'b> {
/external/rust/crates/clap/src/app/
Dvalidator.rs11 use args::{AnyArg, ArgMatcher, MatchedArg};
93 A: AnyArg<'a, 'b> + Display, in validate_arg_values()
327 A: AnyArg<'a, 'b> + Display, in validate_arg_num_occurs()
348 A: AnyArg<'a, 'b> + Display, in validate_arg_num_vals()
432 A: AnyArg<'a, 'b> + Display, in validate_arg_requires()
508 fn validate_arg_conflicts(&self, a: &AnyArg, matcher: &ArgMatcher) -> Option<bool> { in validate_arg_conflicts() argument
523 fn validate_required_unless(&self, a: &AnyArg, matcher: &ArgMatcher) -> Option<bool> { in validate_required_unless() argument
578 fn is_missing_required_ok(&self, a: &AnyArg, matcher: &ArgMatcher) -> bool { in is_missing_required_ok() argument
Dhelp.rs13 use args::{AnyArg, ArgSettings, DispOrder};
42 trait ArgWithDisplay<'b, 'c>: AnyArg<'b, 'c> + Display {}
43 impl<'b, 'c, T> ArgWithDisplay<'b, 'c> for T where T: AnyArg<'b, 'c> + Display {}
Dmod.rs26 use args::{AnyArg, Arg, ArgGroup, ArgMatcher, ArgMatches, ArgSettings};
1804 impl<'n, 'e> AnyArg<'n, 'e> for App<'n, 'e> {
Dparser.rs28 AnyArg, Arg, ArgGroup, ArgMatcher, Base, FlagBuilder, OptBuilder, PosBuilder, Switched,
1854 A: AnyArg<'a, 'b> + Display, in add_val_to_arg()
1894 A: AnyArg<'a, 'b> + Display, in add_single_val_to_arg()
2168 pub fn find_any_arg(&self, name: &str) -> Option<&AnyArg<'a, 'b>> { in find_any_arg()
Dusage.rs8 use args::{AnyArg, ArgMatcher, PosBuilder};
/external/rust/crates/clap/src/args/
Dany_arg.rs12 pub trait AnyArg<'n, 'e>: std_fmt::Display { trait
46 impl<'n, 'e, 'z, T: ?Sized> AnyArg<'n, 'e> for &'z T impl
48 T: AnyArg<'n, 'e> + 'z,
Darg_matcher.rs10 use args::AnyArg;
30 a: Option<&AnyArg<'a, 'b>>, in process_arg_overrides()
75 pub fn handle_self_overrides<'b>(&mut self, a: Option<&AnyArg<'a, 'b>>) { in handle_self_overrides()
241 A: AnyArg<'a, 'b>, in needs_more_vals()
Dmod.rs1 pub use self::any_arg::{AnyArg, DispOrder};
/external/rust/crates/clap/src/args/arg_builder/
Dflag.rs10 use args::{AnyArg, ArgSettings, Base, DispOrder, Switched};
63 impl<'n, 'e> AnyArg<'n, 'e> for FlagBuilder<'n, 'e> {
Dpositional.rs10 use args::{AnyArg, ArgSettings, Base, DispOrder, Valued};
137 impl<'n, 'e> AnyArg<'n, 'e> for PosBuilder<'n, 'e> {
Doption.rs9 use args::{AnyArg, Arg, ArgSettings, Base, DispOrder, Switched, Valued};
116 impl<'n, 'e> AnyArg<'n, 'e> for OptBuilder<'n, 'e> {
/external/rust/crates/clap/src/completions/
Dbash.rs173 use args::AnyArg; in vals_for()
Dzsh.rs9 use args::{AnyArg, ArgSettings};
/external/rust/crates/clap/
DCHANGELOG.md1411 * **srs/args:** Added longest_filter to AnyArg trait ([65b3f667](https://github.com/kbknapp/clap-r…