Struct js_source_mapper::CodePosition [] [src]

pub struct CodePosition {
    pub line: u32,
    pub column: u32,
}

Fields

Line number in a code file, starting from 1

Column number in a code file, starting from 0

Trait Implementations

impl Clone for CodePosition
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for CodePosition
[src]

impl PartialEq for CodePosition
[src]

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

This method tests for !=.

impl Debug for CodePosition
[src]

Formats the value using the given formatter.