Struct pest_meta::parser::ParserNode [−][src]
pub struct ParserNode<'i> { pub expr: ParserExpr<'i>, pub span: Span<'i>, }
Fields
expr: ParserExpr<'i>
span: Span<'i>
Methods
impl<'i> ParserNode<'i>
[src]
impl<'i> ParserNode<'i>
pub fn filter_map_top_down<F, T>(self, f: F) -> Vec<T> where
F: FnMut(ParserNode<'i>) -> Option<T>,
[src]
pub fn filter_map_top_down<F, T>(self, f: F) -> Vec<T> where
F: FnMut(ParserNode<'i>) -> Option<T>,
Trait Implementations
impl<'i> Clone for ParserNode<'i>
[src]
impl<'i> Clone for ParserNode<'i>
fn clone(&self) -> ParserNode<'i>
[src]
fn clone(&self) -> ParserNode<'i>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'i> Debug for ParserNode<'i>
[src]
impl<'i> Debug for ParserNode<'i>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'i> Eq for ParserNode<'i>
[src]
impl<'i> Eq for ParserNode<'i>
impl<'i> PartialEq for ParserNode<'i>
[src]
impl<'i> PartialEq for ParserNode<'i>
fn eq(&self, other: &ParserNode<'i>) -> bool
[src]
fn eq(&self, other: &ParserNode<'i>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ParserNode<'i>) -> bool
[src]
fn ne(&self, other: &ParserNode<'i>) -> bool
This method tests for !=
.
Auto Trait Implementations
impl<'i> Send for ParserNode<'i>
impl<'i> Send for ParserNode<'i>
impl<'i> Sync for ParserNode<'i>
impl<'i> Sync for ParserNode<'i>