Enum pear::Expected [] [src]

pub enum Expected<I: Input> {
    Token(Option<I::Token>, Option<I::Token>),
    Slice(Option<I::Slice>, Option<I::Slice>),
    Custom(Cow<'static, str>),
    EOF,
}

Variants

Trait Implementations

impl<I: Debug + Input> Debug for Expected<I> where
    I::Token: Debug,
    I::Token: Debug,
    I::Slice: Debug,
    I::Slice: Debug
[src]

Formats the value using the given formatter.

impl<I: Input> Display for Expected<I>
[src]

Formats the value using the given formatter. Read more