Expand description
Numeric value which can be of two types Number
, BigInt
.
Variants
Number(f64)
Double precision floating point number.
BigInt(JsBigInt)
BigInt an integer of arbitrary size.
Trait Implementations
sourceimpl PartialOrd<Numeric> for Numeric
impl PartialOrd<Numeric> for Numeric
sourcefn partial_cmp(&self, other: &Numeric) -> Option<Ordering>
fn partial_cmp(&self, other: &Numeric) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl StructuralPartialEq for Numeric
Auto Trait Implementations
impl RefUnwindSafe for Numeric
impl !Send for Numeric
impl !Sync for Numeric
impl Unpin for Numeric
impl UnwindSafe for Numeric
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more