pub enum Statement<'tree> {
AssignmentStatement(Box<AssignmentStatement<'tree>>),
BreakStatement(Box<BreakStatement<'tree>>),
Declaration(Box<Declaration<'tree>>),
DoStatement(Box<DoStatement<'tree>>),
EmptyStatement(Box<EmptyStatement<'tree>>),
ForStatement(Box<ForStatement<'tree>>),
FunctionCall(Box<FunctionCall<'tree>>),
GotoStatement(Box<GotoStatement<'tree>>),
IfStatement(Box<IfStatement<'tree>>),
LabelStatement(Box<LabelStatement<'tree>>),
RepeatStatement(Box<RepeatStatement<'tree>>),
WhileStatement(Box<WhileStatement<'tree>>),
}Variants§
AssignmentStatement(Box<AssignmentStatement<'tree>>)
BreakStatement(Box<BreakStatement<'tree>>)
Declaration(Box<Declaration<'tree>>)
DoStatement(Box<DoStatement<'tree>>)
EmptyStatement(Box<EmptyStatement<'tree>>)
ForStatement(Box<ForStatement<'tree>>)
FunctionCall(Box<FunctionCall<'tree>>)
GotoStatement(Box<GotoStatement<'tree>>)
IfStatement(Box<IfStatement<'tree>>)
LabelStatement(Box<LabelStatement<'tree>>)
RepeatStatement(Box<RepeatStatement<'tree>>)
WhileStatement(Box<WhileStatement<'tree>>)
Trait Implementations§
Auto Trait Implementations§
impl<'tree> Freeze for Statement<'tree>
impl<'tree> RefUnwindSafe for Statement<'tree>
impl<'tree> Send for Statement<'tree>
impl<'tree> Sync for Statement<'tree>
impl<'tree> Unpin for Statement<'tree>
impl<'tree> UnsafeUnpin for Statement<'tree>
impl<'tree> UnwindSafe for Statement<'tree>
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