Enum ra_ap_syntax::ast::LiteralKind [−][src]
pub enum LiteralKind { String(String), ByteString(ByteString), IntNumber(IntNumber), FloatNumber(FloatNumber), Char, Byte, Bool(bool), }
Variants
String(String)
ByteString(ByteString)
IntNumber(IntNumber)
FloatNumber(FloatNumber)
Bool(bool)
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl !RefUnwindSafe for LiteralKind
impl !Send for LiteralKind
impl !Sync for LiteralKind
impl Unpin for LiteralKind
impl !UnwindSafe for LiteralKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.