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: boolbuild_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

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.