/// The cardinality of inputs to match for an argument/option.
////// Inspired by argparse: <https://docs.python.org/3/library/argparse.html#nargs>
#[derive(Debug, Clone, Copy, PartialEq, Eq)]pubenumNargs{/// `N`: Precisely `N` values.
Precisely(u8),/// `*`: May be any number of values, including `0`.
Any,/// `+`: At least one value must be specified.
AtLeastOne,}implstd::fmt::Display forNargs{fnfmt(&self, f:&mutstd::fmt::Formatter<'_>)->std::fmt::Result{write!(f,"{:?}",self)}}