Span

Type Alias Span 

Source
pub type Span = SimpleSpan<usize>;

Aliased Type§

pub struct Span {
    pub start: usize,
    pub end: usize,
    pub context: (),
}

Fields§

§start: usize

The start offset of the span.

§end: usize

The end (exclusive) offset of the span.

§context: ()

The context of the span (usually some ID representing the file path the span relates to).