Enum sway_core::parse_tree::Literal
source · [−]pub enum Literal {
U8(u8),
U16(u16),
U32(u32),
U64(u64),
String(Span),
Boolean(bool),
Byte(u8),
B256([u8; 32]),
}
Variants
U8(u8)
U16(u16)
U32(u32)
U64(u64)
String(Span)
Boolean(bool)
Byte(u8)
B256([u8; 32])
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Literal
impl UnwindSafe for Literal
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.