pub enum ForStatementInitializer<'tree> {
EmptyStatement(Box<EmptyStatement<'tree>>),
Expression(Box<Expression<'tree>>),
LexicalDeclaration(Box<LexicalDeclaration<'tree>>),
SequenceExpression(Box<SequenceExpression<'tree>>),
VariableDeclaration(Box<VariableDeclaration<'tree>>),
}Variants§
EmptyStatement(Box<EmptyStatement<'tree>>)
Expression(Box<Expression<'tree>>)
LexicalDeclaration(Box<LexicalDeclaration<'tree>>)
SequenceExpression(Box<SequenceExpression<'tree>>)
VariableDeclaration(Box<VariableDeclaration<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for ForStatementInitializer<'tree>
impl<'tree> Clone for ForStatementInitializer<'tree>
Source§fn clone(&self) -> ForStatementInitializer<'tree>
fn clone(&self) -> ForStatementInitializer<'tree>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'tree> Debug for ForStatementInitializer<'tree>
impl<'tree> Debug for ForStatementInitializer<'tree>
Source§impl<'tree> FromNode<'tree> for ForStatementInitializer<'tree>
impl<'tree> FromNode<'tree> for ForStatementInitializer<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for ForStatementInitializer<'tree>
impl<'tree> RefUnwindSafe for ForStatementInitializer<'tree>
impl<'tree> Send for ForStatementInitializer<'tree>
impl<'tree> Sync for ForStatementInitializer<'tree>
impl<'tree> Unpin for ForStatementInitializer<'tree>
impl<'tree> UnsafeUnpin for ForStatementInitializer<'tree>
impl<'tree> UnwindSafe for ForStatementInitializer<'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