pub trait Chain<T>: Sealed<T> {
// Required methods
fn len(&self) -> usize;
fn append_to(self, v: &mut Vec<T>);
}
Expand description
A utility trait that facilitates chaining parser outputs together into Vec
s.
See Parser::chain
.
pub trait Chain<T>: Sealed<T> {
// Required methods
fn len(&self) -> usize;
fn append_to(self, v: &mut Vec<T>);
}
A utility trait that facilitates chaining parser outputs together into Vec
s.
See Parser::chain
.