pub struct Config {
pub src_dir: Option<PathBuf>,
pub dest_dir: Option<PathBuf>,
pub diff_dir: Option<PathBuf>,
pub verbose: bool,
pub help: bool,
}
Expand description
Config includes all the variables in this application
Fields
src_dir: Option<PathBuf>
the folder to read
dest_dir: Option<PathBuf>
the folder to compare the read images
diff_dir: Option<PathBuf>
the folder to output the diff images if a diff is found
verbose: bool
toogle verbose mode
help: bool
toogle help mode
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more