pub struct YulExpressionStatement {
pub expression: YulExpression,
pub native_src: Option<SourceLocation>,
pub node_type: YulExpressionStatementNodeType,
pub src: SourceLocation,
}
Expand description
YulExpressionStatement
JSON schema
{
"type": "object",
"required": [
"expression",
"nodeType",
"src"
],
"properties": {
"expression": {
"$ref": "#/definitions/YulExpression"
},
"nativeSrc": {
"$ref": "#/definitions/SourceLocation"
},
"nodeType": {
"enum": [
"YulExpressionStatement"
]
},
"src": {
"$ref": "#/definitions/SourceLocation"
}
},
"additionalProperties": false
}
Fields§
§expression: YulExpression
§native_src: Option<SourceLocation>
§node_type: YulExpressionStatementNodeType
§src: SourceLocation
Trait Implementations§
Source§impl Clone for YulExpressionStatement
impl Clone for YulExpressionStatement
Source§fn clone(&self) -> YulExpressionStatement
fn clone(&self) -> YulExpressionStatement
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 YulExpressionStatement
impl Debug for YulExpressionStatement
Source§impl<'de> Deserialize<'de> for YulExpressionStatement
impl<'de> Deserialize<'de> for YulExpressionStatement
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<&YulExpressionStatement> for YulExpressionStatement
impl From<&YulExpressionStatement> for YulExpressionStatement
Source§fn from(value: &YulExpressionStatement) -> Self
fn from(value: &YulExpressionStatement) -> 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.
Auto Trait Implementations§
impl Freeze for YulExpressionStatement
impl RefUnwindSafe for YulExpressionStatement
impl Send for YulExpressionStatement
impl Sync for YulExpressionStatement
impl Unpin for YulExpressionStatement
impl UnwindSafe for YulExpressionStatement
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