Enum rustc_errors::Style [−][src]
pub enum Style {
Show 14 variants
MainHeaderMsg,
HeaderMsg,
LineAndColumn,
LineNumber,
Quotation,
UnderlinePrimary,
UnderlineSecondary,
LabelPrimary,
LabelSecondary,
NoStyle,
Level(Level),
Highlight,
Addition,
Removal,
}
Variants
Level(Level)
Tuple Fields of Level
0: Level
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Style
impl UnwindSafe for Style
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: 1 byte
Size for each variant:
MainHeaderMsg
: 0 bytesHeaderMsg
: 0 bytesLineAndColumn
: 0 bytesLineNumber
: 0 bytesQuotation
: 0 bytesUnderlinePrimary
: 0 bytesUnderlineSecondary
: 0 bytesLabelPrimary
: 0 bytesLabelSecondary
: 0 bytesNoStyle
: 0 bytesLevel
: 1 byteHighlight
: 0 bytesAddition
: 0 bytesRemoval
: 0 bytes