Struct js_source_mapper::CodePosition [] [src]

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

Fields

line: u32

Line number in a code file, starting from 1

column: u32

Column number in a code file, starting from 0

Trait Implementations

impl Debug for CodePosition
[src]

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

Formats the value using the given formatter.

impl PartialEq for CodePosition
[src]

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

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

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

This method tests for !=.

impl Eq for CodePosition
[src]

impl Clone for CodePosition
[src]

fn clone(&self) -> CodePosition

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