pub enum GoFloat {
Finite(Number<f64>),
NaN,
PosInf,
NegInf,
}Expand description
A Go float64: a float token, or one of the non-finite forms {"$float":...}.
Variants§
Finite(Number<f64>)
A finite float, written with ., e or E.
NaN
{"$float":"NaN"}.
PosInf
{"$float":"+Inf"}.
NegInf
{"$float":"-Inf"}.
Trait Implementations§
impl StructuralPartialEq for GoFloat
Auto Trait Implementations§
impl Freeze for GoFloat
impl RefUnwindSafe for GoFloat
impl Send for GoFloat
impl Sync for GoFloat
impl Unpin for GoFloat
impl UnsafeUnpin for GoFloat
impl UnwindSafe for GoFloat
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