pub type Span<'f, L> = SpanT<&'f str, L>;Expand description
Aliased Type§
pub struct Span<'f, L> {
pub file_name: &'f str,
pub start: L,
pub end: L,
}Fields§
§file_name: &'f strThe name of the source code.
Often a file name, but can be an arbitrary string like <input> or even any other type.
start: LThe (inclusive) starting location.
end: LThe (exclusive) ending location.