pub struct SpanLines {
pub start_line: usize,
pub start_col: usize,
pub end_line: usize,
pub end_col: usize,
}Expand description
Information about which lines a span covers.
Fields§
§start_line: usize1-indexed start line.
start_col: usize1-indexed start column.
end_line: usize1-indexed end line.
end_col: usize1-indexed end column.
Implementations§
Trait Implementations§
impl Copy for SpanLines
impl Eq for SpanLines
impl StructuralPartialEq for SpanLines
Auto Trait Implementations§
impl Freeze for SpanLines
impl RefUnwindSafe for SpanLines
impl Send for SpanLines
impl Sync for SpanLines
impl Unpin for SpanLines
impl UnsafeUnpin for SpanLines
impl UnwindSafe for SpanLines
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more