pub struct FloatExpression {
pub value: f64,
pub span: Span,
}Expand description
Literal floating point expression
Fields§
§value: f64The floating point value
span: SpanSpan of the floating point
Trait Implementations§
Source§impl Clone for FloatExpression
impl Clone for FloatExpression
Source§fn clone(&self) -> FloatExpression
fn clone(&self) -> FloatExpression
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 FloatExpression
impl Debug for FloatExpression
Auto Trait Implementations§
impl Freeze for FloatExpression
impl RefUnwindSafe for FloatExpression
impl Send for FloatExpression
impl Sync for FloatExpression
impl Unpin for FloatExpression
impl UnsafeUnpin for FloatExpression
impl UnwindSafe for FloatExpression
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