Struct ruri::model::Config [−][src]
A Ruri config object, should be passed to check_files
Implementations
impl<'a> Config
[src]
pub const FILE_PATHS: &'a str
[src]
pub const IS_QUIET: &'a str
[src]
pub const THREADS: &'a str
[src]
pub fn new(matches: ArgMatches<'_>) -> Config
[src]
Create a new Config based on clap::ArgMatches
pub fn file_paths(&self) -> &Vec<String>
[src]
Borrow the file paths as a String Vec
pub fn is_quiet(&self) -> bool
[src]
Is set as quiet
pub fn threads(&self) -> usize
[src]
Get the requested thread count
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Config
[src]
impl Send for Config
[src]
impl Sync for Config
[src]
impl Unpin for Config
[src]
impl UnwindSafe for Config
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,