Struct tvm::ir::diagnostics::DiagnosticContextNode [−][src]
#[repr(C)]pub struct DiagnosticContextNode {
pub base: Object,
pub module: IRModule,
pub diagnostics: Array<Diagnostic>,
pub renderer: DiagnosticRenderer,
}
Expand description
A diagnostic context for recording errors against a source file.
Fields
base: Object
module: IRModule
The Module to report against.
diagnostics: Array<Diagnostic>
The set of diagnostics to report.
renderer: DiagnosticRenderer
The renderer set for the context.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for DiagnosticContextNode
impl !Send for DiagnosticContextNode
impl !Sync for DiagnosticContextNode
impl Unpin for DiagnosticContextNode
impl UnwindSafe for DiagnosticContextNode
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more