Enum conch_parser::ast::ComplexWord
[−]
[src]
pub enum ComplexWord<W> {
Concat(Vec<W>),
Single(W),
}Represents whitespace delimited text.
Generic over the representation of a whitespace delimited word.
Variants
Concat(Vec<W>)Several distinct words concatenated together.
Single(W)A regular word.
Trait Implementations
impl<W: Debug> Debug for ComplexWord<W>[src]
impl<W: PartialEq> PartialEq for ComplexWord<W>[src]
fn eq(&self, __arg_0: &ComplexWord<W>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ComplexWord<W>) -> bool
This method tests for !=.
impl<W: Eq> Eq for ComplexWord<W>[src]
impl<W: Clone> Clone for ComplexWord<W>[src]
fn clone(&self) -> ComplexWord<W>
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