pub struct SourceMapping {
pub from: SourceCoord,
pub to: SourceCoord,
}
Expand description
Points that correspond in the original/generated source code.
Fields§
§from: SourceCoord
Coordinate in the “original source code”
to: SourceCoord
Coordinate in the “generated source code”
Auto Trait Implementations§
impl Freeze for SourceMapping
impl RefUnwindSafe for SourceMapping
impl Send for SourceMapping
impl Sync for SourceMapping
impl Unpin for SourceMapping
impl UnwindSafe for SourceMapping
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