pub enum SimpleStatement<'tree> {
AssignmentStatement(Box<AssignmentStatement<'tree>>),
DecStatement(Box<DecStatement<'tree>>),
ExpressionStatement(Box<ExpressionStatement<'tree>>),
IncStatement(Box<IncStatement<'tree>>),
SendStatement(Box<SendStatement<'tree>>),
ShortVarDeclaration(Box<ShortVarDeclaration<'tree>>),
}Variants§
AssignmentStatement(Box<AssignmentStatement<'tree>>)
DecStatement(Box<DecStatement<'tree>>)
ExpressionStatement(Box<ExpressionStatement<'tree>>)
IncStatement(Box<IncStatement<'tree>>)
SendStatement(Box<SendStatement<'tree>>)
ShortVarDeclaration(Box<ShortVarDeclaration<'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>
Source§impl<'tree> PartialEq for SimpleStatement<'tree>
impl<'tree> PartialEq for SimpleStatement<'tree>
Source§impl Spanned for SimpleStatement<'_>
impl Spanned for SimpleStatement<'_>
impl<'tree> Eq for SimpleStatement<'tree>
impl<'tree> StructuralPartialEq 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