Lines Matching defs:from
12 /// set, this means that at least one argument from that group must be present. If
29 /// Finally, you may use `ArgGroup`s to pull a value from a group of arguments when you don't care
35 /// the arguments from the specified group is present at runtime.
99 /// The name will be used to get values from the group or refer to the group inside of conflict
277 /// Require an argument from the group to be present when parsing.
286 /// `ArgGroup::required(true)` states, "One and *only one* arg must be used from this group.
288 /// states, '*At least* one arg from this group must be used. Using multiple is OK."
325 /// when any one of the arguments from this group is used.
347 /// // because we used an arg from the group, and the group requires "-d" to be used, it's an
369 /// when one of the arguments from this group is used.
394 /// // because we used an arg from the group, and the group requires "-d" and "-v" to be used,
413 /// other arguments or groups that must *not* be present when one of the arguments from this
436 /// // because we used an arg from the group, and the group conflicts with "-d", it's an error
455 /// or groups that must *not* be present when one of the arguments from this group are used.
480 /// // because we used an arg from the group, and the group conflicts with either "-v" or "-d"
513 fn from(g: &ArgGroup) -> Self {
563 let g2 = ArgGroup::from(&g);