pub struct LineMap {
pub line_starts: Vec<u32>,
}Expand description
compute the line and column of an offset
Fields§
§line_starts: Vec<u32>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for LineMap
impl Freeze for LineMap
impl Move 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