[][src]Struct vhdl_parser::Position

pub struct Position {
    pub line: u32,
    pub character: u32,
}

Fields

line: u32character: u32

Methods

impl Position[src]

pub fn default() -> Position[src]

pub fn new(line: u32, character: u32) -> Position[src]

pub fn next_char(&self) -> Position[src]

pub fn move_after_char(&mut self, chr: char)[src]

pub fn after_char(&self, chr: char) -> Position[src]

pub fn prev_char(&self) -> Position[src]

pub fn range_to(&self, end: Position) -> Range[src]

Trait Implementations

impl Clone for Position[src]

impl Copy for Position[src]

impl Debug for Position[src]

impl Eq for Position[src]

impl Hash for Position[src]

impl Ord for Position[src]

impl PartialEq<Position> for Position[src]

impl PartialOrd<Position> for Position[src]

impl StructuralEq for Position[src]

impl StructuralPartialEq for Position[src]

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.