pub struct FloatLiteral {
pub token: Token,
pub value: f64,
}Expand description
Float literal
Fields§
§token: Token§value: f64Trait Implementations§
Source§impl Clone for FloatLiteral
impl Clone for FloatLiteral
Source§fn clone(&self) -> FloatLiteral
fn clone(&self) -> FloatLiteral
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FloatLiteral
impl Debug for FloatLiteral
Source§impl Display for FloatLiteral
impl Display for FloatLiteral
Source§impl PartialEq for FloatLiteral
impl PartialEq for FloatLiteral
impl StructuralPartialEq for FloatLiteral
Auto Trait Implementations§
impl Freeze for FloatLiteral
impl RefUnwindSafe for FloatLiteral
impl Send for FloatLiteral
impl Sync for FloatLiteral
impl Unpin for FloatLiteral
impl UnsafeUnpin for FloatLiteral
impl UnwindSafe for FloatLiteral
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