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