[][src]Struct lite_parser::impls::SimplePosition

pub struct SimplePosition {
    pub index: u32,
    pub line: u32,
    pub column: u32,
}

Fields

index: u32line: u32column: u32

Implementations

impl SimplePosition[src]

pub fn next(&self, c: char) -> Self[src]

Trait Implementations

impl Clone for SimplePosition[src]

impl Copy for SimplePosition[src]

impl Debug for SimplePosition[src]

impl Default for SimplePosition[src]

impl Eq for SimplePosition[src]

impl PartialEq<SimplePosition> for SimplePosition[src]

impl Position for SimplePosition[src]

impl StructuralEq for SimplePosition[src]

impl StructuralPartialEq for SimplePosition[src]

impl Sub<SimplePosition> for SimplePosition[src]

type Output = i32

The resulting type after applying the - operator.

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.