Enum earley::Value [] [src]

pub enum Value<'a, T> {
    Terminal(&'a str),
    NonTerminal(T),
}

Variants

Methods

impl<'a, T> Value<'a, T> where
    T: 'a, 
[src]

Trait Implementations

impl<'a, T: Clone> Clone for Value<'a, T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a, T: Copy> Copy for Value<'a, T>
[src]

impl<'a, T: PartialEq> PartialEq for Value<'a, T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a, T: Eq> Eq for Value<'a, T>
[src]

impl<'a, T: Debug> Debug for Value<'a, T>
[src]

Formats the value using the given formatter.