Struct syntax_pos::LineInfo[][src]

pub struct LineInfo {
    pub line_index: usize,
    pub start_col: CharPos,
    pub end_col: CharPos,


Index of line, starting from 0.

Column in line where span begins, starting from 0.

Column in line where span ends, starting from 0, exclusive.

Trait Implementations

impl Copy for LineInfo

impl Clone for LineInfo

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for LineInfo

Formats the value using the given formatter. Read more

impl PartialEq for LineInfo

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

This method tests for !=.

impl Eq for LineInfo

Auto Trait Implementations

impl Send for LineInfo

impl Sync for LineInfo