pub struct LocMap<T> {
inner: HashMap<usize, BTreeMap<ByteIndex, BTreeMap<ByteIndex, Vec<T>>>>,
}
Expand description
A map that allows quick (O(log(n))) lookup of things by source code location.
Fields§
§inner: HashMap<usize, BTreeMap<ByteIndex, BTreeMap<ByteIndex, Vec<T>>>>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for LocMap<T>
impl<T> RefUnwindSafe for LocMap<T>where
T: RefUnwindSafe,
impl<T> Send for LocMap<T>where
T: Send,
impl<T> Sync for LocMap<T>where
T: Sync,
impl<T> Unpin for LocMap<T>
impl<T> UnwindSafe for LocMap<T>where
T: RefUnwindSafe,
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