Struct caked::LexError[][src]

pub struct LexError {
    pub position: Position,
    pub kind: LexErrorKind,
    // some fields omitted
}

Lexer error.

Fields

position: Position

Position of error.

kind: LexErrorKind

Kind of error.

Implementations

impl LexError[src]

pub fn new(position: Position, state: State, kind: LexErrorKind) -> Self[src]

Creates a new lexer error.

Trait Implementations

impl Clone for LexError[src]

impl Copy for LexError[src]

impl Debug for LexError[src]

impl Display for LexError[src]

impl Eq for LexError[src]

impl From<LexError> for DeserError[src]

impl Ord for LexError[src]

impl PartialEq<LexError> for LexError[src]

impl PartialOrd<LexError> for LexError[src]

impl StructuralEq for LexError[src]

impl StructuralPartialEq for LexError[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> ToString for T where
    T: Display + ?Sized
[src]

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.