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