Struct leo_span::source_map::SpanLocation
source · pub struct SpanLocation {
pub source_file: Rc<SourceFile>,
pub line_start: usize,
pub line_stop: usize,
pub col_start: usize,
pub col_stop: usize,
}Expand description
Detailed information on a Span.
Fields§
§source_file: Rc<SourceFile>§line_start: usize§line_stop: usize§col_start: usize§col_stop: usizeImplementations§
source§impl SpanLocation
impl SpanLocation
Auto Trait Implementations§
impl RefUnwindSafe for SpanLocation
impl !Send for SpanLocation
impl !Sync for SpanLocation
impl Unpin for SpanLocation
impl UnwindSafe for SpanLocation
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