Home
last modified time | relevance | path

Searched refs:requires_ifs (Results 1 - 2 of 2) sorted by relevance

/third_party/rust/crates/clap/tests/builder/
H A Drequire.rs552 .requires_ifs([("my.cfg", "extra"), ("other.cfg", "other")]) in requires_if_present_mult()
569 .requires_ifs([("my.cfg", "extra"), ("other.cfg", "other")]) in requires_if_present_mult_pass()
1053 .requires_ifs([ in issue_1158_app()
/third_party/rust/crates/clap/src/builder/
H A Darg.rs3433 /// .requires_ifs([
3440 /// Setting `Arg::requires_ifs(["val", "arg"])` requires that the `arg` be used at runtime if the
3449 /// .requires_ifs([
3466 /// Setting `Arg::requires_ifs` with [`ArgPredicate::IsPresent`] and *not* supplying all the
3474 /// .requires_ifs([
3494 pub fn requires_ifs( in requires_ifs() functions
3506 deprecated(since = "4.0.0", note = "Replaced with `Arg::requires_ifs`")
3509 self.requires_ifs(ids.into_iter().map(|id| (ArgPredicate::IsPresent, id))) in requires_all()

Completed in 10 milliseconds