Struct sourcemap::RawToken [] [src]

pub struct RawToken {
    pub dst_line: u32,
    pub dst_col: u32,
    pub src_line: u32,
    pub src_col: u32,
    pub src_id: u32,
    pub name_id: u32,
}

Represents a raw token

Raw tokens are used internally to represent the sourcemap in a memory efficient way. If you construct sourcemaps yourself then you need to create these objects, otherwise they are invisible to you as a user.

Fields

the destination (minified) line number

the destination (minified) column number

the source line number

the source line column

source identifier

name identifier (!0 in case there is no associated name)

Trait Implementations

impl PartialEq for RawToken
[src]

[src]

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

[src]

This method tests for !=.

impl Copy for RawToken
[src]

impl Clone for RawToken
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for RawToken
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for RawToken

impl Sync for RawToken