pub struct YulIf {
pub body: YulBlock,
pub condition: YulExpression,
pub native_src: Option<SourceLocation>,
pub node_type: YulIfNodeType,
pub src: SourceLocation,
}
Expand description
YulIf
JSON schema
{
"type": "object",
"required": [
"body",
"condition",
"nodeType",
"src"
],
"properties": {
"body": {
"$ref": "#/definitions/YulBlock"
},
"condition": {
"$ref": "#/definitions/YulExpression"
},
"nativeSrc": {
"$ref": "#/definitions/SourceLocation"
},
"nodeType": {
"enum": [
"YulIf"
]
},
"src": {
"$ref": "#/definitions/SourceLocation"
}
},
"additionalProperties": false
}
Fields§
§body: YulBlock
§condition: YulExpression
§native_src: Option<SourceLocation>
§node_type: YulIfNodeType
§src: SourceLocation
Trait Implementations§
Source§impl<'de> Deserialize<'de> for YulIf
impl<'de> Deserialize<'de> for YulIf
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<YulIf> for YulStatement
impl From<YulIf> for YulStatement
Auto Trait Implementations§
impl Freeze for YulIf
impl RefUnwindSafe for YulIf
impl Send for YulIf
impl Sync for YulIf
impl Unpin for YulIf
impl UnwindSafe for YulIf
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