Enum edlang_ast::Statement
source · pub enum Statement {
Let(LetStmt),
Assign(AssignStmt),
For(ForStmt),
While(WhileStmt),
If(IfStmt),
Return(ReturnStmt),
FnCall(FnCallExpr),
}
Variants§
Let(LetStmt)
Assign(AssignStmt)
For(ForStmt)
While(WhileStmt)
If(IfStmt)
Return(ReturnStmt)
FnCall(FnCallExpr)
Trait Implementations§
source§impl Ord for Statement
impl Ord for Statement
source§impl PartialEq for Statement
impl PartialEq for Statement
source§impl PartialOrd for Statement
impl PartialOrd for Statement
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Statement
impl StructuralPartialEq for Statement
Auto Trait Implementations§
impl Freeze for Statement
impl RefUnwindSafe for Statement
impl Send for Statement
impl Sync for Statement
impl Unpin for Statement
impl UnwindSafe for Statement
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