pub struct LineColumn {
pub line: usize,
pub column: usize,
}🔬 This is a nightly-only experimental API. (
proc_macro_span #54725)
A line-column pair representing the start or end of a Span.
🔬 This is a nightly-only experimental API. (
proc_macro_span #54725)
The 1-indexed line in the source file on which the span starts or ends (inclusive).
column: usize
🔬 This is a nightly-only experimental API. (
proc_macro_span #54725)
The 0-indexed column (in UTF-8 characters) in the source file on which
the span starts or ends (inclusive).
Performs copy-assignment from source. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=.
Formats the value using the given formatter. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into #41263)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (
try_from #33417)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (
try_from #33417)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id #27745)
this method will likely be replaced by an associated static
🔬 This is a nightly-only experimental API. (
try_from #33417)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (
try_from #33417)
Mutably borrows from an owned value. Read more