[][src]Enum pear::Expected

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

Variants

Methods

impl<T, I, S> Expected<T, I, S>
[src]

Trait Implementations

impl<T: PartialEq, I: PartialEq, S: PartialEq> PartialEq<Expected<T, I, S>> for Expected<T, I, S>
[src]

impl<T: Clone, I: Clone, S: Clone> Clone for Expected<T, I, S>
[src]

Performs copy-assignment from source. Read more

impl<T: Debug, I: Debug, S: Debug> Display for Expected<T, I, S>
[src]

impl<T: Display + Debug, I: Display + Debug, S: Display + Debug> Display for Expected<T, I, S>
[src]

impl<T: Debug, I: Debug, S: Debug> Debug for Expected<T, I, S>
[src]

Auto Trait Implementations

impl<T, I, S> Send for Expected<T, I, S> where
    I: Send,
    S: Send,
    T: Send

impl<T, I, S> Sync for Expected<T, I, S> where
    I: Sync,
    S: Sync,
    T: Sync

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]