Enum rustc_errors::emitter::HumanReadableErrorType [−][src]
pub enum HumanReadableErrorType {
Default(ColorConfig),
AnnotateSnippet(ColorConfig),
Short(ColorConfig),
}
Expand description
Describes the way the content of the rendered
field of the json output is generated
Variants
Default(ColorConfig)
Tuple Fields of Default
0: ColorConfig
AnnotateSnippet(ColorConfig)
Tuple Fields of AnnotateSnippet
0: ColorConfig
Short(ColorConfig)
Tuple Fields of Short
0: ColorConfig
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for HumanReadableErrorType
impl Send for HumanReadableErrorType
impl Sync for HumanReadableErrorType
impl Unpin for HumanReadableErrorType
impl UnwindSafe for HumanReadableErrorType
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: 2 bytes
Size for each variant:
Default
: 1 byteAnnotateSnippet
: 1 byteShort
: 1 byte