Enum nom_operator::operator::Associativity [] [src]

pub enum Associativity {
    Left,
    Right,
}

Associativity of the operator

Variants

Left associative operator

5 * 5 * 7 = (5 * 5) * 7

Right associative operator

5 ^ 5 ^ 9 = 5 ^ (5 ^ 9)

Trait Implementations

impl Debug for Associativity
[src]

Formats the value using the given formatter.

impl Clone for Associativity
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Associativity
[src]

impl PartialEq for Associativity
[src]

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

This method tests for !=.