pub struct LazyNumeric { /* private fields */ }
Expand description
A lazy numeric type which allows for raw bytes associated with a floating point value to be stashed away, and then only parsed when needed. Structs of this type may be returned by the lexer if the associated feature is enabled
Implementations§
Trait Implementations§
Source§impl Clone for LazyNumeric
impl Clone for LazyNumeric
Source§fn clone(&self) -> LazyNumeric
fn clone(&self) -> LazyNumeric
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 moreSource§impl Debug for LazyNumeric
impl Debug for LazyNumeric
Source§impl From<&LazyNumeric> for f64
impl From<&LazyNumeric> for f64
Source§fn from(value: &LazyNumeric) -> Self
fn from(value: &LazyNumeric) -> Self
Converts to this type from the input type.
Source§impl From<LazyNumeric> for f64
impl From<LazyNumeric> for f64
Source§fn from(value: LazyNumeric) -> Self
fn from(value: LazyNumeric) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LazyNumeric
impl PartialEq for LazyNumeric
impl StructuralPartialEq for LazyNumeric
Auto Trait Implementations§
impl Freeze for LazyNumeric
impl RefUnwindSafe for LazyNumeric
impl Send for LazyNumeric
impl Sync for LazyNumeric
impl Unpin for LazyNumeric
impl UnwindSafe for LazyNumeric
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