pub struct YulCase {
pub body: YulBlock,
pub native_src: Option<SourceLocation>,
pub node_type: YulCaseNodeType,
pub src: SourceLocation,
pub value: YulCaseValue,
}
Expand description
YulCase
JSON schema
{
"type": "object",
"required": [
"body",
"nodeType",
"src",
"value"
],
"properties": {
"body": {
"$ref": "#/definitions/YulBlock"
},
"nativeSrc": {
"$ref": "#/definitions/SourceLocation"
},
"nodeType": {
"enum": [
"YulCase"
]
},
"src": {
"$ref": "#/definitions/SourceLocation"
},
"value": {
"anyOf": [
{
"enum": [
"default"
]
},
{
"$ref": "#/definitions/YulLiteral"
}
]
}
},
"additionalProperties": false
}
Fields§
§body: YulBlock
§native_src: Option<SourceLocation>
§node_type: YulCaseNodeType
§src: SourceLocation
§value: YulCaseValue
Trait Implementations§
Source§impl<'de> Deserialize<'de> for YulCase
impl<'de> Deserialize<'de> for YulCase
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
Auto Trait Implementations§
impl Freeze for YulCase
impl RefUnwindSafe for YulCase
impl Send for YulCase
impl Sync for YulCase
impl Unpin for YulCase
impl UnwindSafe for YulCase
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