pub struct Mapping {
pub generated: CodePosition,
pub original: CodePosition,
pub source: String,
pub name: String,
}
Fields§
§generated: CodePosition
The position in the generated file
original: CodePosition
The position in the corresponding original source file
source: String
The original source file
name: String
The original source name of the function/class, if applicable
Trait Implementations§
impl Eq for Mapping
impl StructuralPartialEq for Mapping
Auto Trait Implementations§
impl Freeze for Mapping
impl RefUnwindSafe for Mapping
impl Send for Mapping
impl Sync for Mapping
impl Unpin for Mapping
impl UnwindSafe for Mapping
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