Enum NumericLiteralBase
pub enum NumericLiteralBase {
Decimal,
Hex,
Octal,
Binary,
}Expand description
The base of an integer or floating-point literal.
Floating-point literals can only have a Decimal or Hex base.
Variants§
Implementations§
§impl NumericLiteralBase
impl NumericLiteralBase
Trait Implementations§
§impl Clone for NumericLiteralBase
impl Clone for NumericLiteralBase
§fn clone(&self) -> NumericLiteralBase
fn clone(&self) -> NumericLiteralBase
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for NumericLiteralBase
impl Debug for NumericLiteralBase
§impl Display for NumericLiteralBase
impl Display for NumericLiteralBase
§impl PartialEq for NumericLiteralBase
impl PartialEq for NumericLiteralBase
impl Copy for NumericLiteralBase
impl Eq for NumericLiteralBase
impl StructuralPartialEq for NumericLiteralBase
Auto Trait Implementations§
impl Freeze for NumericLiteralBase
impl RefUnwindSafe for NumericLiteralBase
impl Send for NumericLiteralBase
impl Sync for NumericLiteralBase
impl Unpin for NumericLiteralBase
impl UnwindSafe for NumericLiteralBase
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