Struct tvm::ir::span::SpanNode [−][src]
#[repr(C)]pub struct SpanNode {
pub base: Object,
pub source_name: SourceName,
pub line: i32,
pub column: i32,
pub end_line: i32,
pub end_column: i32,
}
Expand description
Span information for diagnostic purposes.
Fields
base: Object
source_name: SourceName
The source name.
line: i32
The line number.
column: i32
The column offset.
end_line: i32
The end line number.
end_column: i32
The end column number.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SpanNode
impl UnwindSafe for SpanNode
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