pub enum Statement<'tree> {
Show 25 variants
Block(Box<Block<'tree>>),
BreakStatement(Box<BreakStatement<'tree>>),
CheckedStatement(Box<CheckedStatement<'tree>>),
ContinueStatement(Box<ContinueStatement<'tree>>),
DoStatement(Box<DoStatement<'tree>>),
EmptyStatement(Box<EmptyStatement<'tree>>),
ExpressionStatement(Box<ExpressionStatement<'tree>>),
FixedStatement(Box<FixedStatement<'tree>>),
ForStatement(Box<ForStatement<'tree>>),
ForeachStatement(Box<ForeachStatement<'tree>>),
GotoStatement(Box<GotoStatement<'tree>>),
IfStatement(Box<IfStatement<'tree>>),
LabeledStatement(Box<LabeledStatement<'tree>>),
LocalDeclarationStatement(Box<LocalDeclarationStatement<'tree>>),
LocalFunctionStatement(Box<LocalFunctionStatement<'tree>>),
LockStatement(Box<LockStatement<'tree>>),
PreprocIf(Box<PreprocIf<'tree>>),
ReturnStatement(Box<ReturnStatement<'tree>>),
SwitchStatement(Box<SwitchStatement<'tree>>),
ThrowStatement(Box<ThrowStatement<'tree>>),
TryStatement(Box<TryStatement<'tree>>),
UnsafeStatement(Box<UnsafeStatement<'tree>>),
UsingStatement(Box<UsingStatement<'tree>>),
WhileStatement(Box<WhileStatement<'tree>>),
YieldStatement(Box<YieldStatement<'tree>>),
}Variants§
Block(Box<Block<'tree>>)
BreakStatement(Box<BreakStatement<'tree>>)
CheckedStatement(Box<CheckedStatement<'tree>>)
ContinueStatement(Box<ContinueStatement<'tree>>)
DoStatement(Box<DoStatement<'tree>>)
EmptyStatement(Box<EmptyStatement<'tree>>)
ExpressionStatement(Box<ExpressionStatement<'tree>>)
FixedStatement(Box<FixedStatement<'tree>>)
ForStatement(Box<ForStatement<'tree>>)
ForeachStatement(Box<ForeachStatement<'tree>>)
GotoStatement(Box<GotoStatement<'tree>>)
IfStatement(Box<IfStatement<'tree>>)
LabeledStatement(Box<LabeledStatement<'tree>>)
LocalDeclarationStatement(Box<LocalDeclarationStatement<'tree>>)
LocalFunctionStatement(Box<LocalFunctionStatement<'tree>>)
LockStatement(Box<LockStatement<'tree>>)
PreprocIf(Box<PreprocIf<'tree>>)
ReturnStatement(Box<ReturnStatement<'tree>>)
SwitchStatement(Box<SwitchStatement<'tree>>)
ThrowStatement(Box<ThrowStatement<'tree>>)
TryStatement(Box<TryStatement<'tree>>)
UnsafeStatement(Box<UnsafeStatement<'tree>>)
UsingStatement(Box<UsingStatement<'tree>>)
WhileStatement(Box<WhileStatement<'tree>>)
YieldStatement(Box<YieldStatement<'tree>>)
Trait Implementations§
impl<'tree> Eq for Statement<'tree>
impl<'tree> StructuralPartialEq for Statement<'tree>
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