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
Filler
Label(L)
Trait Implementations
impl<L: Copy + ValidGramElement> Copy for Node<L>
[src]
impl<L: Clone + ValidGramElement> Clone for Node<L>
[src]
fn clone(&self) -> Node<L>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<L: Debug + ValidGramElement> Debug for Node<L>
[src]
impl<L: PartialEq + ValidGramElement> PartialEq for Node<L>
[src]
fn eq(&self, __arg_0: &Node<L>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Node<L>) -> bool
This method tests for !=
.
impl<L: PartialOrd + ValidGramElement> PartialOrd for Node<L>
[src]
fn partial_cmp(&self, __arg_0: &Node<L>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &Node<L>) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &Node<L>) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &Node<L>) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &Node<L>) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more