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