pub struct SpanLoc {
pub file: Arc<File>,
pub begin: LineCol,
pub end: LineCol,
}
Expand description
A file, and a line and column range within it.
Fields§
§file: Arc<File>
§begin: LineCol
§end: LineCol
Trait Implementations§
source§impl PartialEq for SpanLoc
impl PartialEq for SpanLoc
impl Eq for SpanLoc
impl StructuralPartialEq for SpanLoc
Auto Trait Implementations§
impl Freeze for SpanLoc
impl RefUnwindSafe for SpanLoc
impl Send for SpanLoc
impl Sync for SpanLoc
impl Unpin for SpanLoc
impl UnwindSafe for SpanLoc
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