Struct pest_meta::parser::ParserRule [−][src]
pub struct ParserRule<'i> {
pub name: String,
pub span: Span<'i>,
pub ty: RuleType,
pub node: ParserNode<'i>,
}Fields
name: String
span: Span<'i>
ty: RuleType
node: ParserNode<'i>
Trait Implementations
impl<'i> Clone for ParserRule<'i>[src]
impl<'i> Clone for ParserRule<'i>fn clone(&self) -> ParserRule<'i>[src]
fn clone(&self) -> ParserRule<'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 ParserRule<'i>[src]
impl<'i> Debug for ParserRule<'i>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'i> Eq for ParserRule<'i>[src]
impl<'i> Eq for ParserRule<'i>impl<'i> PartialEq for ParserRule<'i>[src]
impl<'i> PartialEq for ParserRule<'i>fn eq(&self, other: &ParserRule<'i>) -> bool[src]
fn eq(&self, other: &ParserRule<'i>) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ParserRule<'i>) -> bool[src]
fn ne(&self, other: &ParserRule<'i>) -> boolThis method tests for !=.
Auto Trait Implementations
impl<'i> Send for ParserRule<'i>
impl<'i> Send for ParserRule<'i>impl<'i> Sync for ParserRule<'i>
impl<'i> Sync for ParserRule<'i>