pub struct LineMapping {
pub output_line: usize,
pub source_file: String,
pub source_line: usize,
}Expand description
Line mapping entry - maps a line number in concatenated code to its source file and line
Fields§
§output_line: usizeLine number in the concatenated output (1-indexed)
source_file: StringSource file path
source_line: usizeLine number in the source file (1-indexed)
Trait Implementations§
Source§impl Clone for LineMapping
impl Clone for LineMapping
Source§fn clone(&self) -> LineMapping
fn clone(&self) -> LineMapping
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LineMapping
impl RefUnwindSafe for LineMapping
impl Send for LineMapping
impl Sync for LineMapping
impl Unpin for LineMapping
impl UnwindSafe for LineMapping
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