Struct source_map_mappings::Mapping [] [src]

pub struct Mapping { /* fields omitted */ }

A single bidirectional mapping.

Always contains generated location information.

Might contain original location information, and if so, might also have an associated name.

Methods

impl Mapping
[src]

[src]

The generated line.

[src]

The generated column.

[src]

The end column of this mapping's generated location span.

Before Mappings::computed_column_spans has been called, this is always None. After Mappings::computed_column_spans has been called, it either contains Some column at which the generated location ends (exclusive), or it contains None if it spans until the end of the generated line.

[src]

The original location information, if any.

Trait Implementations

impl Clone for Mapping
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Mapping
[src]

[src]

Formats the value using the given formatter.

impl Default for Mapping
[src]

[src]

Returns the "default value" for a type. Read more