Enum rustc_ap_rustc_lexer::Base [−][src]
pub enum Base {
Binary,
Octal,
Hexadecimal,
Decimal,
}Expand description
Base of numeric literal encoding according to its prefix.
Variants
Literal starts with “0b”.
Literal starts with “0o”.
Literal starts with “0x”.
Literal doesn’t contain a prefix.
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Baseimpl UnwindSafe for BaseBlanket Implementations
Mutably borrows from an owned value. Read more