pub enum YulExpression {
YulFunctionCall(YulFunctionCall),
YulIdentifier(YulIdentifier),
YulLiteral(YulLiteral),
}
Expand description
YulExpression
JSON schema
{
"anyOf": [
{
"$ref": "#/definitions/YulFunctionCall"
},
{
"$ref": "#/definitions/YulIdentifier"
},
{
"$ref": "#/definitions/YulLiteral"
}
]
}
Variants§
Trait Implementations§
Source§impl Clone for YulExpression
impl Clone for YulExpression
Source§fn clone(&self) -> YulExpression
fn clone(&self) -> YulExpression
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 YulExpression
impl Debug for YulExpression
Source§impl<'de> Deserialize<'de> for YulExpression
impl<'de> Deserialize<'de> for YulExpression
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<&YulExpression> for YulExpression
impl From<&YulExpression> for YulExpression
Source§fn from(value: &YulExpression) -> Self
fn from(value: &YulExpression) -> Self
Converts to this type from the input type.
Source§impl From<YulFunctionCall> for YulExpression
impl From<YulFunctionCall> for YulExpression
Source§fn from(value: YulFunctionCall) -> Self
fn from(value: YulFunctionCall) -> 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.
Source§impl From<YulLiteral> for YulExpression
impl From<YulLiteral> for YulExpression
Source§fn from(value: YulLiteral) -> Self
fn from(value: YulLiteral) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for YulExpression
impl RefUnwindSafe for YulExpression
impl Send for YulExpression
impl Sync for YulExpression
impl Unpin for YulExpression
impl UnwindSafe for YulExpression
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