pub struct Arguments {
pub path: PathBuf,
pub logfile: bool,
pub yes: bool,
pub nro: usize,
pub zeroes: usize,
pub prefix: String,
pub mode: String,
pub ordering: String,
pub ignore: Vec<usize>,
pub file_extension: &'static Lazy<Regex>,
pub file_numbers_test: Regex,
pub file_numbers: Regex,
}
Fields§
§path: PathBuf
§logfile: bool
§yes: bool
§nro: usize
§zeroes: usize
§prefix: String
§mode: String
§ordering: String
§ignore: Vec<usize>
§file_extension: &'static Lazy<Regex>
§file_numbers_test: Regex
§file_numbers: Regex
Trait Implementations§
source§impl From<ArgMatches> for Arguments
impl From<ArgMatches> for Arguments
source§fn from(a: ArgMatches) -> Self
fn from(a: ArgMatches) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Arguments
impl RefUnwindSafe for Arguments
impl Send for Arguments
impl Sync for Arguments
impl Unpin for Arguments
impl UnwindSafe for Arguments
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more