Enum pqgrams::Node [] [src]

pub enum Node<L: ValidGramElement> {
    Filler,
    Label(L),
}

A single tree node that may form part of a 'gram. PQGrams include filler labels for absent nodes in either dimension (usual notation is '*') so this enum lets the PQgram profile contain either while allowing literal '*' as a label.

Variants

Trait Implementations

impl<L: Copy + ValidGramElement> Copy for Node<L>
[src]

impl<L: Clone + ValidGramElement> Clone for Node<L>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<L: Debug + ValidGramElement> Debug for Node<L>
[src]

Formats the value using the given formatter.

impl<L: PartialEq + ValidGramElement> PartialEq for Node<L>
[src]

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

This method tests for !=.

impl<L: PartialOrd + ValidGramElement> PartialOrd for Node<L>
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<L: Eq + ValidGramElement> Eq for Node<L>
[src]

impl<L: Ord + ValidGramElement> Ord for Node<L>
[src]

This method returns an Ordering between self and other. Read more