pub enum SimpleStatement<'tree> {
Show 16 variants
AssertStatement(Box<AssertStatement<'tree>>),
BreakStatement(Box<BreakStatement<'tree>>),
ContinueStatement(Box<ContinueStatement<'tree>>),
DeleteStatement(Box<DeleteStatement<'tree>>),
ExecStatement(Box<ExecStatement<'tree>>),
ExpressionStatement(Box<ExpressionStatement<'tree>>),
FutureImportStatement(Box<FutureImportStatement<'tree>>),
GlobalStatement(Box<GlobalStatement<'tree>>),
ImportFromStatement(Box<ImportFromStatement<'tree>>),
ImportStatement(Box<ImportStatement<'tree>>),
NonlocalStatement(Box<NonlocalStatement<'tree>>),
PassStatement(Box<PassStatement<'tree>>),
PrintStatement(Box<PrintStatement<'tree>>),
RaiseStatement(Box<RaiseStatement<'tree>>),
ReturnStatement(Box<ReturnStatement<'tree>>),
TypeAliasStatement(Box<TypeAliasStatement<'tree>>),
}Variants§
AssertStatement(Box<AssertStatement<'tree>>)
BreakStatement(Box<BreakStatement<'tree>>)
ContinueStatement(Box<ContinueStatement<'tree>>)
DeleteStatement(Box<DeleteStatement<'tree>>)
ExecStatement(Box<ExecStatement<'tree>>)
ExpressionStatement(Box<ExpressionStatement<'tree>>)
FutureImportStatement(Box<FutureImportStatement<'tree>>)
GlobalStatement(Box<GlobalStatement<'tree>>)
ImportFromStatement(Box<ImportFromStatement<'tree>>)
ImportStatement(Box<ImportStatement<'tree>>)
NonlocalStatement(Box<NonlocalStatement<'tree>>)
PassStatement(Box<PassStatement<'tree>>)
PrintStatement(Box<PrintStatement<'tree>>)
RaiseStatement(Box<RaiseStatement<'tree>>)
ReturnStatement(Box<ReturnStatement<'tree>>)
TypeAliasStatement(Box<TypeAliasStatement<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for SimpleStatement<'tree>
impl<'tree> Clone for SimpleStatement<'tree>
Source§fn clone(&self) -> SimpleStatement<'tree>
fn clone(&self) -> SimpleStatement<'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 SimpleStatement<'tree>
impl<'tree> Debug for SimpleStatement<'tree>
Source§impl<'tree> FromNode<'tree> for SimpleStatement<'tree>
impl<'tree> FromNode<'tree> for SimpleStatement<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for SimpleStatement<'tree>
impl<'tree> RefUnwindSafe for SimpleStatement<'tree>
impl<'tree> Send for SimpleStatement<'tree>
impl<'tree> Sync for SimpleStatement<'tree>
impl<'tree> Unpin for SimpleStatement<'tree>
impl<'tree> UnsafeUnpin for SimpleStatement<'tree>
impl<'tree> UnwindSafe for SimpleStatement<'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