Struct pest_meta::parser::ParserRule
source · [−]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
sourceimpl<'i> Clone for ParserRule<'i>
impl<'i> Clone for ParserRule<'i>
sourcefn clone(&self) -> ParserRule<'i>
fn clone(&self) -> ParserRule<'i>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'i> Debug for ParserRule<'i>
impl<'i> Debug for ParserRule<'i>
sourceimpl<'i> PartialEq<ParserRule<'i>> for ParserRule<'i>
impl<'i> PartialEq<ParserRule<'i>> for ParserRule<'i>
sourcefn eq(&self, other: &ParserRule<'i>) -> bool
fn eq(&self, other: &ParserRule<'i>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ParserRule<'i>) -> bool
fn ne(&self, other: &ParserRule<'i>) -> bool
This method tests for !=
.
impl<'i> Eq for ParserRule<'i>
impl<'i> StructuralEq for ParserRule<'i>
impl<'i> StructuralPartialEq for ParserRule<'i>
Auto Trait Implementations
impl<'i> RefUnwindSafe for ParserRule<'i>
impl<'i> Send for ParserRule<'i>
impl<'i> Sync for ParserRule<'i>
impl<'i> Unpin for ParserRule<'i>
impl<'i> UnwindSafe for ParserRule<'i>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more