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