pub struct LineColumn {
pub line: usize,
pub column: usize,
}
A line-column pair representing the start or end of a Span
.
This type is semver exempt and not exposed by default.
The 1-indexed line in the source file on which the span starts or ends
(inclusive).
column: usize
The 0-indexed column (in UTF-8 characters) in the source file on which
the span starts or ends (inclusive).
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static