pub enum Node<'a> {
Show 18 variants
Lit(WithSpan<Lit<'a>>),
Comment(WithSpan<Comment<'a>>),
Expr(Ws, WithSpan<Box<Expr<'a>>>),
Call(WithSpan<Call<'a>>),
Let(WithSpan<Let<'a>>),
Declare(WithSpan<Declare<'a>>),
If(WithSpan<If<'a>>),
Match(WithSpan<Match<'a>>),
Loop(WithSpan<Loop<'a>>),
Extends(WithSpan<Extends<'a>>),
BlockDef(WithSpan<BlockDef<'a>>),
Include(WithSpan<Include<'a>>),
Import(WithSpan<Import<'a>>),
Macro(WithSpan<Macro<'a>>),
Raw(WithSpan<Raw<'a>>),
Break(WithSpan<Ws>),
Continue(WithSpan<Ws>),
FilterBlock(WithSpan<FilterBlock<'a>>),
}Variants§
Lit(WithSpan<Lit<'a>>)
Comment(WithSpan<Comment<'a>>)
Expr(Ws, WithSpan<Box<Expr<'a>>>)
Call(WithSpan<Call<'a>>)
Let(WithSpan<Let<'a>>)
Declare(WithSpan<Declare<'a>>)
If(WithSpan<If<'a>>)
Match(WithSpan<Match<'a>>)
Loop(WithSpan<Loop<'a>>)
Extends(WithSpan<Extends<'a>>)
BlockDef(WithSpan<BlockDef<'a>>)
Include(WithSpan<Include<'a>>)
Import(WithSpan<Import<'a>>)
Macro(WithSpan<Macro<'a>>)
Raw(WithSpan<Raw<'a>>)
Break(WithSpan<Ws>)
Continue(WithSpan<Ws>)
FilterBlock(WithSpan<FilterBlock<'a>>)
Implementations§
Trait Implementations§
impl<'a> StructuralPartialEq for Node<'a>
Auto Trait Implementations§
impl<'a> Freeze for Node<'a>
impl<'a> RefUnwindSafe for Node<'a>
impl<'a> Send for Node<'a>
impl<'a> Sync for Node<'a>
impl<'a> Unpin for Node<'a>
impl<'a> UnwindSafe for Node<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more