pub struct SourceMapping {
pub generated_offset: u32,
pub source_file: String,
pub source_line: u32,
pub source_col: u32,
pub name: Option<String>,
}Expand description
A single source mapping entry.
Fields§
§generated_offset: u32§source_file: String§source_line: u32§source_col: u32§name: Option<String>Trait Implementations§
Source§impl Clone for SourceMapping
impl Clone for SourceMapping
Source§fn clone(&self) -> SourceMapping
fn clone(&self) -> SourceMapping
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 moreSource§impl Debug for SourceMapping
impl Debug for SourceMapping
Source§impl PartialEq for SourceMapping
impl PartialEq for SourceMapping
impl StructuralPartialEq for SourceMapping
Auto Trait Implementations§
impl Freeze for SourceMapping
impl RefUnwindSafe for SourceMapping
impl Send for SourceMapping
impl Sync for SourceMapping
impl Unpin for SourceMapping
impl UnsafeUnpin 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