pub struct YulFor {
pub loc: Loc,
pub init_block: YulBlock,
pub condition: YulExpression,
pub post_block: YulBlock,
pub execution_block: YulBlock,
}Expand description
A Yul for statement.
for <init_block> <condition> <post_block> <execution_block>
Fields§
§loc: LocThe code location.
init_block: YulBlockThe for statement init block.
condition: YulExpressionThe for statement condition.
post_block: YulBlockThe for statement post block.
execution_block: YulBlockThe for statement execution block.
Trait Implementations§
Source§impl OptionalCodeLocation for YulFor
impl OptionalCodeLocation for YulFor
impl Eq for YulFor
impl StructuralPartialEq for YulFor
Auto Trait Implementations§
impl Freeze for YulFor
impl RefUnwindSafe for YulFor
impl Send for YulFor
impl Sync for YulFor
impl Unpin for YulFor
impl UnwindSafe for YulFor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more