pub enum YulStmt {
Let(Vec<String>, Option<YulExpr>),
Assign(Vec<String>, YulExpr),
If(YulExpr, Vec<YulStmt>),
Switch(YulExpr, Vec<(u64, Vec<YulStmt>)>, Option<Vec<YulStmt>>),
For(Vec<YulStmt>, YulExpr, Vec<YulStmt>, Vec<YulStmt>),
Break,
Continue,
Leave,
Return(YulExpr, YulExpr),
Revert(YulExpr, YulExpr),
Pop(YulExpr),
Expr(YulExpr),
}Expand description
EVM Yul statement
Variants§
Let(Vec<String>, Option<YulExpr>)
Assign(Vec<String>, YulExpr)
If(YulExpr, Vec<YulStmt>)
Switch(YulExpr, Vec<(u64, Vec<YulStmt>)>, Option<Vec<YulStmt>>)
For(Vec<YulStmt>, YulExpr, Vec<YulStmt>, Vec<YulStmt>)
Break
Continue
Leave
Return(YulExpr, YulExpr)
Revert(YulExpr, YulExpr)
Pop(YulExpr)
Expr(YulExpr)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for YulStmt
impl RefUnwindSafe for YulStmt
impl Send for YulStmt
impl Sync for YulStmt
impl Unpin for YulStmt
impl UnsafeUnpin for YulStmt
impl UnwindSafe for YulStmt
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