Enum ra_ap_hir_def::expr::Literal [−][src]
pub enum Literal { String(String), ByteString(Vec<u8>), Char(char), Bool(bool), Int(i128, Option<BuiltinInt>), Uint(u128, Option<BuiltinUint>), Float(u64, Option<BuiltinFloat>), }
Variants
String(String)
Char(char)
Bool(bool)
Int(i128, Option<BuiltinInt>)
Uint(u128, Option<BuiltinUint>)
Float(u64, Option<BuiltinFloat>)
Trait Implementations
Performs the conversion.
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.