pub struct SourceLine<'a> {
pub line: usize,
pub column: usize,
pub text: &'a str,
/* private fields */
}Expand description
An extracted source line.
Fields§
§line: usizeThe line number in the source.
column: usizeThe column number in the source.
text: &'a strThe text of the span.
Auto Trait Implementations§
impl<'a> Freeze for SourceLine<'a>
impl<'a> RefUnwindSafe for SourceLine<'a>
impl<'a> Send for SourceLine<'a>
impl<'a> Sync for SourceLine<'a>
impl<'a> Unpin for SourceLine<'a>
impl<'a> UnwindSafe for SourceLine<'a>
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