pub enum CompoundStatement<'tree> {
ClassDefinition(Box<ClassDefinition<'tree>>),
DecoratedDefinition(Box<DecoratedDefinition<'tree>>),
ForStatement(Box<ForStatement<'tree>>),
FunctionDefinition(Box<FunctionDefinition<'tree>>),
IfStatement(Box<IfStatement<'tree>>),
MatchStatement(Box<MatchStatement<'tree>>),
TryStatement(Box<TryStatement<'tree>>),
WhileStatement(Box<WhileStatement<'tree>>),
WithStatement(Box<WithStatement<'tree>>),
}Variants§
ClassDefinition(Box<ClassDefinition<'tree>>)
DecoratedDefinition(Box<DecoratedDefinition<'tree>>)
ForStatement(Box<ForStatement<'tree>>)
FunctionDefinition(Box<FunctionDefinition<'tree>>)
IfStatement(Box<IfStatement<'tree>>)
MatchStatement(Box<MatchStatement<'tree>>)
TryStatement(Box<TryStatement<'tree>>)
WhileStatement(Box<WhileStatement<'tree>>)
WithStatement(Box<WithStatement<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for CompoundStatement<'tree>
impl<'tree> Clone for CompoundStatement<'tree>
Source§fn clone(&self) -> CompoundStatement<'tree>
fn clone(&self) -> CompoundStatement<'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 CompoundStatement<'tree>
impl<'tree> Debug for CompoundStatement<'tree>
Source§impl<'tree> FromNode<'tree> for CompoundStatement<'tree>
impl<'tree> FromNode<'tree> for CompoundStatement<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for CompoundStatement<'tree>
impl<'tree> RefUnwindSafe for CompoundStatement<'tree>
impl<'tree> Send for CompoundStatement<'tree>
impl<'tree> Sync for CompoundStatement<'tree>
impl<'tree> Unpin for CompoundStatement<'tree>
impl<'tree> UnsafeUnpin for CompoundStatement<'tree>
impl<'tree> UnwindSafe for CompoundStatement<'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