pub struct Config { /* private fields */ }
Implementations§
source§impl Config
impl Config
pub fn stdout_mut(&mut self) -> &mut Output ⓘ
pub fn stderr_mut(&mut self) -> &mut Output ⓘ
pub fn quiet_mut(&mut self) -> &mut bool
pub fn print_basename_mut(&mut self) -> &mut bool
pub fn ignore_case_mut(&mut self) -> &mut bool
pub fn force_slashes_mut(&mut self) -> &mut bool
source§impl Config
impl Config
pub fn set_stdout(&mut self, val: Output) -> &mut Self
pub fn set_stderr(&mut self, val: Output) -> &mut Self
pub fn set_quiet(&mut self, val: bool) -> &mut Self
pub fn set_print_basename(&mut self, val: bool) -> &mut Self
pub fn set_ignore_case(&mut self, val: bool) -> &mut Self
pub fn set_force_slashes(&mut self, val: bool) -> &mut Self
source§impl Config
impl Config
pub fn with_stdout(self, stdout: Output) -> Self
pub fn with_stderr(self, stderr: Output) -> Self
pub fn with_print_basenamet(self, print_basename: bool) -> Self
sourcepub fn extract_stdout(self) -> Output ⓘ
pub fn extract_stdout(self) -> Output ⓘ
Consume the configuration instance and get the stdout
field.
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§
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