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