Type Alias logos::Span

source ·
pub type Span = Range<usize>;
Expand description

Byte range in the source.

Aliased Type§

struct Span {
    pub start: usize,
    pub end: usize,
}

Fields§

§start: usize

The lower bound of the range (inclusive).

§end: usize

The upper bound of the range (exclusive).