pub struct Config {
pub assertions_will_panic: AtomicBool,
pub terminal_width_override: AtomicUsize,
pub update_mode: bool,
pub build_system: BuildSystem,
pub force_enable_colors: bool,
}
Fields
assertions_will_panic: AtomicBool
Configurable so we can test all assertions in our own test suite without panicking.
terminal_width_override: AtomicUsize
0 === disabled
update_mode: bool
build_system: BuildSystem
What build system this project is being built with
force_enable_colors: bool
Whether we should always enable colored output
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