blob: 4847718c6037ecf44676f17b8e64c42812ae06bc [file] [log] [blame]
// Std
use std::ffi::OsString;
#[doc(hidden)]
#[derive(Debug, Clone)]
pub struct MatchedArg {
#[doc(hidden)] pub occurs: u64,
#[doc(hidden)] pub vals: Vec<OsString>,
}
impl Default for MatchedArg {
fn default() -> Self {
MatchedArg {
occurs: 1,
vals: Vec::with_capacity(1),
}
}
}
impl MatchedArg {
pub fn new() -> Self { MatchedArg::default() }
}