pub struct SourceMapCache {
pub cache: HashMap<(usize, usize), (usize, usize)>,
}Expand description
A cache for source map lookups.
Fields§
§cache: HashMap<(usize, usize), (usize, usize)>Cached lookups: (line, col) -> (orig_line, orig_col)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SourceMapCache
impl RefUnwindSafe for SourceMapCache
impl Send for SourceMapCache
impl Sync for SourceMapCache
impl Unpin for SourceMapCache
impl UnsafeUnpin for SourceMapCache
impl UnwindSafe for SourceMapCache
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