Struct endbasic_core::ast::DoubleSpan
source · Expand description
Components of a double literal expression.
Fields§
§value: f64The double literal.
pos: LineColStarting 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<DoubleSpan> for DoubleSpan
impl PartialEq<DoubleSpan> for DoubleSpan
source§fn eq(&self, other: &DoubleSpan) -> bool
fn eq(&self, other: &DoubleSpan) -> bool
This method tests for
self and other values to be equal, and is used
by ==.