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