pub enum YulLiteralValueKind {
Number,
String,
Bool,
}
Expand description
YulLiteralValueKind
JSON schema
{
"enum": [
"number",
"string",
"bool"
]
}
Variants§
Trait Implementations§
Source§impl Clone for YulLiteralValueKind
impl Clone for YulLiteralValueKind
Source§fn clone(&self) -> YulLiteralValueKind
fn clone(&self) -> YulLiteralValueKind
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 YulLiteralValueKind
impl Debug for YulLiteralValueKind
Source§impl<'de> Deserialize<'de> for YulLiteralValueKind
impl<'de> Deserialize<'de> for YulLiteralValueKind
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<&YulLiteralValueKind> for YulLiteralValueKind
impl From<&YulLiteralValueKind> for YulLiteralValueKind
Source§fn from(value: &YulLiteralValueKind) -> Self
fn from(value: &YulLiteralValueKind) -> Self
Converts to this type from the input type.
Source§impl FromStr for YulLiteralValueKind
impl FromStr for YulLiteralValueKind
Source§impl Hash for YulLiteralValueKind
impl Hash for YulLiteralValueKind
Source§impl Ord for YulLiteralValueKind
impl Ord for YulLiteralValueKind
Source§fn cmp(&self, other: &YulLiteralValueKind) -> Ordering
fn cmp(&self, other: &YulLiteralValueKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for YulLiteralValueKind
impl PartialEq for YulLiteralValueKind
Source§impl PartialOrd for YulLiteralValueKind
impl PartialOrd for YulLiteralValueKind
Source§impl Serialize for YulLiteralValueKind
impl Serialize for YulLiteralValueKind
Source§impl ToString for YulLiteralValueKind
impl ToString for YulLiteralValueKind
Source§impl TryFrom<&String> for YulLiteralValueKind
impl TryFrom<&String> for YulLiteralValueKind
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for YulLiteralValueKind
impl TryFrom<&str> for YulLiteralValueKind
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for YulLiteralValueKind
impl TryFrom<String> for YulLiteralValueKind
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for YulLiteralValueKind
impl Eq for YulLiteralValueKind
impl StructuralPartialEq for YulLiteralValueKind
Auto Trait Implementations§
impl Freeze for YulLiteralValueKind
impl RefUnwindSafe for YulLiteralValueKind
impl Send for YulLiteralValueKind
impl Sync for YulLiteralValueKind
impl Unpin for YulLiteralValueKind
impl UnwindSafe for YulLiteralValueKind
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