#[non_exhaustive]pub enum IntegerRadix {
Decimal,
Hexadecimal,
Octal,
}Expand description
The radix of an integer literal.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for IntegerRadix
impl Clone for IntegerRadix
impl Copy for IntegerRadix
Source§impl Debug for IntegerRadix
impl Debug for IntegerRadix
impl Eq for IntegerRadix
Source§impl Hash for IntegerRadix
impl Hash for IntegerRadix
Source§impl PartialEq for IntegerRadix
impl PartialEq for IntegerRadix
impl StructuralPartialEq for IntegerRadix
Auto Trait Implementations§
impl Freeze for IntegerRadix
impl RefUnwindSafe for IntegerRadix
impl Send for IntegerRadix
impl Sync for IntegerRadix
impl Unpin for IntegerRadix
impl UnsafeUnpin for IntegerRadix
impl UnwindSafe for IntegerRadix
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more