pub enum YulStatement {
YulAssignment(YulAssignment),
YulBlock(YulBlock),
YulBreak(YulBreak),
YulContinue(YulContinue),
YulExpressionStatement(YulExpressionStatement),
YulLeave(YulLeave),
YulForLoop(YulForLoop),
YulFunctionDefinition(YulFunctionDefinition),
YulIf(YulIf),
YulSwitch(YulSwitch),
YulVariableDeclaration(YulVariableDeclaration),
}
Expand description
YulStatement
JSON schema
{
"anyOf": [
{
"$ref": "#/definitions/YulAssignment"
},
{
"$ref": "#/definitions/YulBlock"
},
{
"$ref": "#/definitions/YulBreak"
},
{
"$ref": "#/definitions/YulContinue"
},
{
"$ref": "#/definitions/YulExpressionStatement"
},
{
"$ref": "#/definitions/YulLeave"
},
{
"$ref": "#/definitions/YulForLoop"
},
{
"$ref": "#/definitions/YulFunctionDefinition"
},
{
"$ref": "#/definitions/YulIf"
},
{
"$ref": "#/definitions/YulSwitch"
},
{
"$ref": "#/definitions/YulVariableDeclaration"
}
]
}
Variants§
YulAssignment(YulAssignment)
YulBlock(YulBlock)
YulBreak(YulBreak)
YulContinue(YulContinue)
YulExpressionStatement(YulExpressionStatement)
YulLeave(YulLeave)
YulForLoop(YulForLoop)
YulFunctionDefinition(YulFunctionDefinition)
YulIf(YulIf)
YulSwitch(YulSwitch)
YulVariableDeclaration(YulVariableDeclaration)
Trait Implementations§
Source§impl Clone for YulStatement
impl Clone for YulStatement
Source§fn clone(&self) -> YulStatement
fn clone(&self) -> YulStatement
Returns a copy 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 Debug for YulStatement
impl Debug for YulStatement
Source§impl<'de> Deserialize<'de> for YulStatement
impl<'de> Deserialize<'de> for YulStatement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&YulStatement> for YulStatement
impl From<&YulStatement> for YulStatement
Source§fn from(value: &YulStatement) -> Self
fn from(value: &YulStatement) -> Self
Converts to this type from the input type.
Source§impl From<YulAssignment> for YulStatement
impl From<YulAssignment> for YulStatement
Source§fn from(value: YulAssignment) -> Self
fn from(value: YulAssignment) -> Self
Converts to this type from the input type.
Source§impl From<YulBlock> for YulStatement
impl From<YulBlock> for YulStatement
Source§impl From<YulBreak> for YulStatement
impl From<YulBreak> for YulStatement
Source§impl From<YulContinue> for YulStatement
impl From<YulContinue> for YulStatement
Source§fn from(value: YulContinue) -> Self
fn from(value: YulContinue) -> Self
Converts to this type from the input type.
Source§impl From<YulExpressionStatement> for YulStatement
impl From<YulExpressionStatement> for YulStatement
Source§fn from(value: YulExpressionStatement) -> Self
fn from(value: YulExpressionStatement) -> Self
Converts to this type from the input type.
Source§impl From<YulForLoop> for YulStatement
impl From<YulForLoop> for YulStatement
Source§fn from(value: YulForLoop) -> Self
fn from(value: YulForLoop) -> Self
Converts to this type from the input type.
Source§impl From<YulFunctionDefinition> for YulStatement
impl From<YulFunctionDefinition> for YulStatement
Source§fn from(value: YulFunctionDefinition) -> Self
fn from(value: YulFunctionDefinition) -> Self
Converts to this type from the input type.
Source§impl From<YulIf> for YulStatement
impl From<YulIf> for YulStatement
Source§impl From<YulLeave> for YulStatement
impl From<YulLeave> for YulStatement
Source§impl From<YulSwitch> for YulStatement
impl From<YulSwitch> for YulStatement
Source§impl From<YulVariableDeclaration> for YulStatement
impl From<YulVariableDeclaration> for YulStatement
Source§fn from(value: YulVariableDeclaration) -> Self
fn from(value: YulVariableDeclaration) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for YulStatement
impl RefUnwindSafe for YulStatement
impl Send for YulStatement
impl Sync for YulStatement
impl Unpin for YulStatement
impl UnwindSafe for YulStatement
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