pub enum NumericLiteral {
Integer(IntegerBuf),
Decimal(DecimalBuf),
Double(DoubleBuf),
}
Expand description
Numeric literal value.
Variants§
Trait Implementations§
Source§impl Clone for NumericLiteral
impl Clone for NumericLiteral
Source§fn clone(&self) -> NumericLiteral
fn clone(&self) -> NumericLiteral
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NumericLiteral
impl Debug for NumericLiteral
Auto Trait Implementations§
impl Freeze for NumericLiteral
impl RefUnwindSafe for NumericLiteral
impl Send for NumericLiteral
impl Sync for NumericLiteral
impl Unpin for NumericLiteral
impl UnwindSafe for NumericLiteral
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