pub struct Loc<T>where
T: FileData,{
pub file: Arc<File<T>>,
pub position: LineCol,
}
Expand description
A file, and a line and column within it.
Fields§
§file: Arc<File<T>>
§position: LineCol
Trait Implementations§
impl<T> Eq for Loc<T>
Auto Trait Implementations§
impl<T> Freeze for Loc<T>
impl<T> RefUnwindSafe for Loc<T>where
T: RefUnwindSafe,
impl<T> Send for Loc<T>
impl<T> Sync for Loc<T>
impl<T> Unpin for Loc<T>
impl<T> UnwindSafe for Loc<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