Struct js_source_mapper::Mapping [] [src]

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 Debug for Mapping
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl PartialEq for Mapping
[src]

fn eq(&self, __arg_0: &Mapping) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Mapping) -> bool

This method tests for !=.

impl Eq for Mapping
[src]

impl Clone for Mapping
[src]

fn clone(&self) -> Mapping

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more