[][src]Struct syntax_pos::LineInfo

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


line_index: usize

Index of line, starting from 0.

start_col: CharPos

Column in line where span begins, starting from 0.

end_col: CharPos

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

Trait Implementations

impl Eq for LineInfo[src]

impl Clone for LineInfo[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialEq<LineInfo> for LineInfo[src]

impl Copy for LineInfo[src]

impl Debug for LineInfo[src]

Auto Trait Implementations

impl Send for LineInfo

impl Sync for LineInfo

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<E> SpecializationError for E[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized

impl<T> Erased for T[src]

impl<T> Send for T where
    T: ?Sized

impl<T> Sync for T where
    T: ?Sized