pub enum JsonNumeric {
Float(f64),
Integer(i64),
Lazy(LazyNumeric),
}
Expand description
Enumeration of possible numeric types. Lazy numerics will be returned by the lexer backend if the associated feature is enabled, otherwise either floats or integer numerics are spat out
Variants§
Trait Implementations§
Source§impl Clone for JsonNumeric
impl Clone for JsonNumeric
Source§fn clone(&self) -> JsonNumeric
fn clone(&self) -> JsonNumeric
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for JsonNumeric
impl RefUnwindSafe for JsonNumeric
impl Send for JsonNumeric
impl Sync for JsonNumeric
impl Unpin for JsonNumeric
impl UnwindSafe for JsonNumeric
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