Enum sway_core::parse_tree::Literal [−][src]
pub enum Literal {
U8(u8),
U16(u16),
U32(u32),
U64(u64),
String(Span),
Boolean(bool),
Byte(u8),
B256([u8; 32]),
}Variants
U8(u8)
Tuple Fields
0: u8U16(u16)
Tuple Fields
0: u16U32(u32)
Tuple Fields
0: u32U64(u64)
Tuple Fields
0: u64String(Span)
Tuple Fields
0: SpanBoolean(bool)
Tuple Fields
0: boolByte(u8)
Tuple Fields
0: u8B256([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.
