[][src]Struct syntax_pos::LineInfo

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

Fields

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 Eq for LineInfo
[src]

impl Copy for LineInfo
[src]

impl PartialEq<LineInfo> for LineInfo
[src]

impl Clone for LineInfo
[src]

Performs copy-assignment from source. Read more

impl Debug for LineInfo
[src]

Auto Trait Implementations

impl Send for LineInfo

impl Sync for LineInfo

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<E> SpecializationError for E
[src]

impl<T> Erased for T
[src]

impl<T> Send for T where
    T: ?Sized
[src]

impl<T> Sync for T where
    T: ?Sized
[src]

impl<T> Erased for T