Struct sixtyfps_compilerlib::diagnostics::Span [−][src]
pub struct Span {
pub offset: usize,
}
Expand description
Span represent an error location within a file.
Currently, it is just an offset in byte within the file.
When the proc_macro_span
feature is enabled, it may also hold a proc_macro span.
Fields
offset: usize
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Span
impl UnwindSafe for Span
Blanket Implementations
Mutably borrows from an owned value. Read more