pub struct LineMap {
pub total_lines: u32,
pub displayable: Option<Vec<(u32, u32)>>,
}Expand description
Line map metadata for selector processing (read tool delegates to this).
Fields§
§total_lines: u32Total number of lines in the source.
displayable: Option<Vec<(u32, u32)>>1-indexed displayable ranges (gaps represent elided regions).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LineMap
impl RefUnwindSafe for LineMap
impl Send for LineMap
impl Sync for LineMap
impl Unpin for LineMap
impl UnsafeUnpin for LineMap
impl UnwindSafe for LineMap
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