[][src]Struct combine_language::Lex

pub struct Lex<'a, 'b, P, Input> where
    Input: Stream<Token = char>, 
{ /* fields omitted */ }

A lexing parser for a language

Trait Implementations

impl<'a, 'b, P, Input> Parser<Input> for Lex<'a, 'b, P, Input> where
    Input: Stream,
    P: Parser<Input>,
    Input: Stream<Token = char> + 'b,
    <Input as StreamOnce>::Error: ParseError<char, <Input as StreamOnce>::Range, <Input as StreamOnce>::Position>, 
[src]

type Output = P::Output

The type which is returned if the parser is successful.

type PartialState = <Skip<P, WhiteSpace<'a, 'b, Input>> as Parser<Input>>::PartialState

Determines the state necessary to resume parsing after more input is supplied. Read more

Auto Trait Implementations

impl<'a, 'b, P, Input> !RefUnwindSafe for Lex<'a, 'b, P, Input>[src]

impl<'a, 'b, P, Input> !Send for Lex<'a, 'b, P, Input>[src]

impl<'a, 'b, P, Input> !Sync for Lex<'a, 'b, P, Input>[src]

impl<'a, 'b, P, Input> Unpin for Lex<'a, 'b, P, Input> where
    P: Unpin,
    'a: 'b, 
[src]

impl<'a, 'b, P, Input> !UnwindSafe for Lex<'a, 'b, P, Input>[src]

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, 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.