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