Struct rustc_errors::ColorSpec [−][src]
pub(crate) struct ColorSpec {
pub(crate) fg_color: Option<Color>,
pub(crate) bg_color: Option<Color>,
pub(crate) bold: bool,
pub(crate) intense: bool,
pub(crate) underline: bool,
pub(crate) dimmed: bool,
pub(crate) italic: bool,
pub(crate) reset: bool,
}Expand description
A color specification.
Fields
fg_color: Option<Color>bg_color: Option<Color>bold: boolintense: boolunderline: booldimmed: boolitalic: boolreset: boolAuto Trait Implementations
impl RefUnwindSafe for ColorSpec
impl UnwindSafe for ColorSpec
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 14 bytes