[][src]Struct combine_language::Reserved

pub struct Reserved<'a, 'b, Input> where
    Input: Stream<Token = char>,
    Input::Error: ParseError<Input::Token, Input::Range, Input::Position>, 
{ /* fields omitted */ }

Parses a reserved word

Trait Implementations

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

type Output = &'static str

The type which is returned if the parser is successful.

type PartialState = <Lex<'a, 'b, Try<Skip<Expected<With<TokensCmp<fn(_: char, _: char) -> bool, Chars<'static>, Input>, Value<Input, &'static str>>, &'static str>, NotFollowedBy<LanguageParser<'a, 'b, Input, char>>>>, 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, Input> !RefUnwindSafe for Reserved<'a, 'b, Input>[src]

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

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

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

impl<'a, 'b, Input> !UnwindSafe for Reserved<'a, 'b, 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.