pub struct DoubleSpan {
pub value: f64,
pub pos: LineCol,
}
Expand description
Components of a double literal expression.
Fields§
§value: f64
The double literal.
pos: LineCol
Starting position of the literal.
Trait Implementations§
Source§impl Clone for DoubleSpan
impl Clone for DoubleSpan
Source§fn clone(&self) -> DoubleSpan
fn clone(&self) -> DoubleSpan
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 moreSource§impl Debug for DoubleSpan
impl Debug for DoubleSpan
Source§impl PartialEq for DoubleSpan
impl PartialEq for DoubleSpan
impl StructuralPartialEq for DoubleSpan
Auto Trait Implementations§
impl Freeze for DoubleSpan
impl RefUnwindSafe for DoubleSpan
impl Send for DoubleSpan
impl Sync for DoubleSpan
impl Unpin for DoubleSpan
impl UnwindSafe for DoubleSpan
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