pub struct BigDecimal { /* private fields */ }
Expand description
A big decimal type.
Implementations§
Source§impl BigDecimal
impl BigDecimal
Sourcepub fn new(digits: BigInt, scale: i64) -> BigDecimal
pub fn new(digits: BigInt, scale: i64) -> BigDecimal
Creates and initializes a BigDecimal
.
The more explicit method from_bigint
should be preferred, as new
may change in the future.
Sourcepub fn from_bigint(digits: BigInt, scale: i64) -> BigDecimal
pub fn from_bigint(digits: BigInt, scale: i64) -> BigDecimal
Construct BigDecimal from BigInt and a scale
Sourcepub fn from_biguint(digits: BigUint, scale: i64) -> BigDecimal
pub fn from_biguint(digits: BigUint, scale: i64) -> BigDecimal
Construct positive BigDecimal from BigUint and a scale
Sourcepub fn to_ref(&self) -> BigDecimalRef<'_>
pub fn to_ref(&self) -> BigDecimalRef<'_>
Make a BigDecimalRef of this value
Sourcepub fn fractional_digit_count(&self) -> i64
pub fn fractional_digit_count(&self) -> i64
Returns the scale of the BigDecimal, the total number of digits to the right of the decimal point (including insignificant leading zeros)
§Examples
use bigdecimal::BigDecimal;
use std::str::FromStr;
let a = BigDecimal::from(12345); // No fractional part
let b = BigDecimal::from_str("123.45").unwrap(); // Fractional part
let c = BigDecimal::from_str("0.0000012345").unwrap(); // Completely fractional part
let d = BigDecimal::from_str("5e9").unwrap(); // Negative-fractional part
assert_eq!(a.fractional_digit_count(), 0);
assert_eq!(b.fractional_digit_count(), 2);
assert_eq!(c.fractional_digit_count(), 10);
assert_eq!(d.fractional_digit_count(), -9);
Sourcepub fn parse_bytes(buf: &[u8], radix: u32) -> Option<BigDecimal>
pub fn parse_bytes(buf: &[u8], radix: u32) -> Option<BigDecimal>
Creates and initializes a BigDecimal
.
Decodes using str::from_utf8
and forwards to BigDecimal::from_str_radix
.
Only base-10 is supported.
§Examples
use bigdecimal::{BigDecimal, Zero};
assert_eq!(BigDecimal::parse_bytes(b"0", 10).unwrap(), BigDecimal::zero());
assert_eq!(BigDecimal::parse_bytes(b"13", 10).unwrap(), BigDecimal::from(13));
Sourcepub fn with_scale(&self, new_scale: i64) -> BigDecimal
pub fn with_scale(&self, new_scale: i64) -> BigDecimal
Return a new BigDecimal object equivalent to self, with internal scaling set to the number specified. If the new_scale is lower than the current value (indicating a larger power of 10), digits will be dropped (as precision is lower)
Sourcepub fn with_scale_round(&self, new_scale: i64, mode: RoundingMode) -> BigDecimal
pub fn with_scale_round(&self, new_scale: i64, mode: RoundingMode) -> BigDecimal
Return a new BigDecimal after shortening the digits and rounding
let n: BigDecimal = "129.41675".parse().unwrap();
assert_eq!(n.with_scale_round(2, RoundingMode::Up), "129.42".parse().unwrap());
assert_eq!(n.with_scale_round(-1, RoundingMode::Down), "120".parse().unwrap());
assert_eq!(n.with_scale_round(4, RoundingMode::HalfEven), "129.4168".parse().unwrap());
Sourcepub fn with_prec(&self, prec: u64) -> BigDecimal
pub fn with_prec(&self, prec: u64) -> BigDecimal
Return a new BigDecimal object with precision set to new value
let n: BigDecimal = "129.41675".parse().unwrap();
assert_eq!(n.with_prec(2), "130".parse().unwrap());
let n_p12 = n.with_prec(12);
let (i, scale) = n_p12.as_bigint_and_exponent();
assert_eq!(n_p12, "129.416750000".parse().unwrap());
assert_eq!(i, 129416750000_u64.into());
assert_eq!(scale, 9);
Sourcepub fn with_precision_round(
&self,
prec: NonZeroU64,
round: RoundingMode,
) -> BigDecimal
pub fn with_precision_round( &self, prec: NonZeroU64, round: RoundingMode, ) -> BigDecimal
Return this BigDecimal with the given precision, rounding if needed
Sourcepub fn sign(&self) -> Sign
pub fn sign(&self) -> Sign
Return the sign of the BigDecimal
as num::bigint::Sign
.
fn sign_of(src: &str) -> Sign {
let n: BigDecimal = src.parse().unwrap();
n.sign()
}
assert_eq!(sign_of("-1"), Sign::Minus);
assert_eq!(sign_of("0"), Sign::NoSign);
assert_eq!(sign_of("1"), Sign::Plus);
Sourcepub fn as_bigint_and_exponent(&self) -> (BigInt, i64)
pub fn as_bigint_and_exponent(&self) -> (BigInt, i64)
Return the internal big integer value and an exponent. Note that a positive exponent indicates a negative power of 10.
§Examples
use bigdecimal::{BigDecimal, num_bigint::BigInt};
let n: BigDecimal = "1.23456".parse().unwrap();
let expected = ("123456".parse::<BigInt>().unwrap(), 5);
assert_eq!(n.as_bigint_and_exponent(), expected);
Sourcepub fn into_bigint_and_exponent(self) -> (BigInt, i64)
pub fn into_bigint_and_exponent(self) -> (BigInt, i64)
Convert into the internal big integer value and an exponent. Note that a positive exponent indicates a negative power of 10.
§Examples
use bigdecimal::{BigDecimal, num_bigint::BigInt};
let n: BigDecimal = "1.23456".parse().unwrap();
let expected = ("123456".parse::<num_bigint::BigInt>().unwrap(), 5);
assert_eq!(n.into_bigint_and_exponent(), expected);
Sourcepub fn abs(&self) -> BigDecimal
pub fn abs(&self) -> BigDecimal
Compute the absolute value of number
let n: BigDecimal = "123.45".parse().unwrap();
assert_eq!(n.abs(), "123.45".parse().unwrap());
let n: BigDecimal = "-123.45".parse().unwrap();
assert_eq!(n.abs(), "123.45".parse().unwrap());
Sourcepub fn double(&self) -> BigDecimal
pub fn double(&self) -> BigDecimal
Multiply decimal by 2 (efficiently)
let n: BigDecimal = "123.45".parse().unwrap();
assert_eq!(n.double(), "246.90".parse().unwrap());
Sourcepub fn half(&self) -> BigDecimal
pub fn half(&self) -> BigDecimal
Divide decimal by 2 (efficiently)
Note: If the last digit in the decimal is odd, the precision will increase by 1
let n: BigDecimal = "123.45".parse().unwrap();
assert_eq!(n.half(), "61.725".parse().unwrap());
Sourcepub fn square(&self) -> BigDecimal
pub fn square(&self) -> BigDecimal
Square a decimal: x²
No rounding or truncating of digits; this is the full result of the squaring operation.
Note: doubles the scale of bigdecimal, which might lead to accidental exponential-complexity if used in a loop.
let n: BigDecimal = "1.1156024145937225657484".parse().unwrap();
assert_eq!(n.square(), "1.24456874744734405154288399835406316085210256".parse().unwrap());
let n: BigDecimal = "-9.238597585E+84".parse().unwrap();
assert_eq!(n.square(), "8.5351685337567832225E+169".parse().unwrap());
Sourcepub fn cube(&self) -> BigDecimal
pub fn cube(&self) -> BigDecimal
Cube a decimal: x³
No rounding or truncating of digits; this is the full result of the cubing operation.
Note: triples the scale of bigdecimal, which might lead to accidental exponential-complexity if used in a loop.
let n: BigDecimal = "1.1156024145937225657484".parse().unwrap();
assert_eq!(n.cube(), "1.388443899780141911774491376394890472130000455312878627147979955904".parse().unwrap());
let n: BigDecimal = "-9.238597585E+84".parse().unwrap();
assert_eq!(n.cube(), "-7.88529874035334084567570176625E+254".parse().unwrap());
Sourcepub fn sqrt(&self) -> Option<BigDecimal>
pub fn sqrt(&self) -> Option<BigDecimal>
Take the square root of the number
Uses default-precision, set from build time environment variable
If the value is < 0, None is returned
let n: BigDecimal = "1.1156024145937225657484".parse().unwrap();
assert_eq!(n.sqrt().unwrap(), "1.056220817156016181190291268045893004363809142172289919023269377496528394924695970851558013658193913".parse().unwrap());
let n: BigDecimal = "-9.238597585E+84".parse().unwrap();
assert_eq!(n.sqrt(), None);
Sourcepub fn sqrt_with_context(&self, ctx: &Context) -> Option<BigDecimal>
pub fn sqrt_with_context(&self, ctx: &Context) -> Option<BigDecimal>
Take the square root of the number, using context for precision and rounding
Sourcepub fn cbrt(&self) -> BigDecimal
pub fn cbrt(&self) -> BigDecimal
Take the cube root of the number, using default context
Sourcepub fn cbrt_with_context(&self, ctx: &Context) -> BigDecimal
pub fn cbrt_with_context(&self, ctx: &Context) -> BigDecimal
Take cube root of self, using properties of context
Sourcepub fn inverse(&self) -> BigDecimal
pub fn inverse(&self) -> BigDecimal
Compute the reciprical of the number: x-1
Sourcepub fn inverse_with_context(&self, ctx: &Context) -> BigDecimal
pub fn inverse_with_context(&self, ctx: &Context) -> BigDecimal
Return inverse of self, rounding with ctx
Sourcepub fn round(&self, round_digits: i64) -> BigDecimal
pub fn round(&self, round_digits: i64) -> BigDecimal
Return given number rounded to ‘round_digits’ precision after the decimal point, using default rounding mode
Default rounding mode is HalfEven
, but can be configured at compile-time
by the environment variable: RUST_BIGDECIMAL_DEFAULT_ROUNDING_MODE
(or by patching build.rs )
Sourcepub fn is_integer(&self) -> bool
pub fn is_integer(&self) -> bool
Return true if this number has zero fractional part (is equal to an integer)
Sourcepub fn exp(&self) -> BigDecimal
pub fn exp(&self) -> BigDecimal
Evaluate the natural-exponential function ex
pub fn normalized(&self) -> BigDecimal
Sourcepub fn to_scientific_notation(&self) -> String
pub fn to_scientific_notation(&self) -> String
Create string of this bigdecimal in scientific notation
let n = BigDecimal::from(12345678);
assert_eq!(&n.to_scientific_notation(), "1.2345678e7");
Sourcepub fn write_scientific_notation<W: Write>(&self, w: &mut W) -> Result
pub fn write_scientific_notation<W: Write>(&self, w: &mut W) -> Result
Write bigdecimal in scientific notation to writer w
Sourcepub fn to_engineering_notation(&self) -> String
pub fn to_engineering_notation(&self) -> String
Create string of this bigdecimal in engineering notation
Engineering notation is scientific notation with the exponent coerced to a multiple of three
let n = BigDecimal::from(12345678);
assert_eq!(&n.to_engineering_notation(), "12.345678e6");
Sourcepub fn write_engineering_notation<W: Write>(&self, w: &mut W) -> Result
pub fn write_engineering_notation<W: Write>(&self, w: &mut W) -> Result
Write bigdecimal in engineering notation to writer w
Trait Implementations§
Source§impl<'a> Add<&'a BigDecimal> for &BigInt
impl<'a> Add<&'a BigDecimal> for &BigInt
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: &BigDecimal) -> BigDecimal
fn add(self, rhs: &BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<&BigDecimal> for &i128
impl Add<&BigDecimal> for &i128
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: &BigDecimal) -> BigDecimal
fn add(self, rhs: &BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<&BigDecimal> for &i16
impl Add<&BigDecimal> for &i16
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: &BigDecimal) -> BigDecimal
fn add(self, rhs: &BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<&BigDecimal> for &i32
impl Add<&BigDecimal> for &i32
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: &BigDecimal) -> BigDecimal
fn add(self, rhs: &BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<&BigDecimal> for &i64
impl Add<&BigDecimal> for &i64
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: &BigDecimal) -> BigDecimal
fn add(self, rhs: &BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<&BigDecimal> for &i8
impl Add<&BigDecimal> for &i8
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: &BigDecimal) -> BigDecimal
fn add(self, rhs: &BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<&BigDecimal> for &u128
impl Add<&BigDecimal> for &u128
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: &BigDecimal) -> BigDecimal
fn add(self, rhs: &BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<&BigDecimal> for &u16
impl Add<&BigDecimal> for &u16
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: &BigDecimal) -> BigDecimal
fn add(self, rhs: &BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<&BigDecimal> for &u32
impl Add<&BigDecimal> for &u32
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: &BigDecimal) -> BigDecimal
fn add(self, rhs: &BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<&BigDecimal> for &u64
impl Add<&BigDecimal> for &u64
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: &BigDecimal) -> BigDecimal
fn add(self, rhs: &BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<&BigDecimal> for &u8
impl Add<&BigDecimal> for &u8
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: &BigDecimal) -> BigDecimal
fn add(self, rhs: &BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl<'a> Add<&'a BigDecimal> for BigInt
impl<'a> Add<&'a BigDecimal> for BigInt
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: &BigDecimal) -> BigDecimal
fn add(self, rhs: &BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<&BigDecimal> for i128
impl Add<&BigDecimal> for i128
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: &BigDecimal) -> BigDecimal
fn add(self, rhs: &BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<&BigDecimal> for i16
impl Add<&BigDecimal> for i16
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: &BigDecimal) -> BigDecimal
fn add(self, rhs: &BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<&BigDecimal> for i32
impl Add<&BigDecimal> for i32
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: &BigDecimal) -> BigDecimal
fn add(self, rhs: &BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<&BigDecimal> for i64
impl Add<&BigDecimal> for i64
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: &BigDecimal) -> BigDecimal
fn add(self, rhs: &BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<&BigDecimal> for i8
impl Add<&BigDecimal> for i8
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: &BigDecimal) -> BigDecimal
fn add(self, rhs: &BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<&BigDecimal> for u128
impl Add<&BigDecimal> for u128
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: &BigDecimal) -> BigDecimal
fn add(self, rhs: &BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<&BigDecimal> for u16
impl Add<&BigDecimal> for u16
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: &BigDecimal) -> BigDecimal
fn add(self, rhs: &BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<&BigDecimal> for u32
impl Add<&BigDecimal> for u32
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: &BigDecimal) -> BigDecimal
fn add(self, rhs: &BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<&BigDecimal> for u64
impl Add<&BigDecimal> for u64
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: &BigDecimal) -> BigDecimal
fn add(self, rhs: &BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<&BigDecimal> for u8
impl Add<&BigDecimal> for u8
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: &BigDecimal) -> BigDecimal
fn add(self, rhs: &BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<&i128> for &BigDecimal
impl Add<&i128> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<&i128> for BigDecimal
impl Add<&i128> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<&i16> for &BigDecimal
impl Add<&i16> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<&i16> for BigDecimal
impl Add<&i16> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<&i32> for &BigDecimal
impl Add<&i32> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<&i32> for BigDecimal
impl Add<&i32> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<&i64> for &BigDecimal
impl Add<&i64> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<&i64> for BigDecimal
impl Add<&i64> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<&i8> for &BigDecimal
impl Add<&i8> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<&i8> for BigDecimal
impl Add<&i8> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<&u128> for &BigDecimal
impl Add<&u128> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<&u128> for BigDecimal
impl Add<&u128> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<&u16> for &BigDecimal
impl Add<&u16> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<&u16> for BigDecimal
impl Add<&u16> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<&u32> for &BigDecimal
impl Add<&u32> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<&u32> for BigDecimal
impl Add<&u32> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<&u64> for &BigDecimal
impl Add<&u64> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<&u64> for BigDecimal
impl Add<&u64> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<&u8> for &BigDecimal
impl Add<&u8> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<&u8> for BigDecimal
impl Add<&u8> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<BigDecimal> for &BigDecimal
impl Add<BigDecimal> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: BigDecimal) -> BigDecimal
fn add(self, rhs: BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<BigDecimal> for &BigInt
impl Add<BigDecimal> for &BigInt
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: BigDecimal) -> BigDecimal
fn add(self, rhs: BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<BigDecimal> for &i128
impl Add<BigDecimal> for &i128
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: BigDecimal) -> BigDecimal
fn add(self, rhs: BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<BigDecimal> for &i16
impl Add<BigDecimal> for &i16
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: BigDecimal) -> BigDecimal
fn add(self, rhs: BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<BigDecimal> for &i32
impl Add<BigDecimal> for &i32
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: BigDecimal) -> BigDecimal
fn add(self, rhs: BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<BigDecimal> for &i64
impl Add<BigDecimal> for &i64
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: BigDecimal) -> BigDecimal
fn add(self, rhs: BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<BigDecimal> for &i8
impl Add<BigDecimal> for &i8
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: BigDecimal) -> BigDecimal
fn add(self, rhs: BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<BigDecimal> for &u128
impl Add<BigDecimal> for &u128
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: BigDecimal) -> BigDecimal
fn add(self, rhs: BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<BigDecimal> for &u16
impl Add<BigDecimal> for &u16
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: BigDecimal) -> BigDecimal
fn add(self, rhs: BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<BigDecimal> for &u32
impl Add<BigDecimal> for &u32
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: BigDecimal) -> BigDecimal
fn add(self, rhs: BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<BigDecimal> for &u64
impl Add<BigDecimal> for &u64
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: BigDecimal) -> BigDecimal
fn add(self, rhs: BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<BigDecimal> for &u8
impl Add<BigDecimal> for &u8
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: BigDecimal) -> BigDecimal
fn add(self, rhs: BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<BigDecimal> for BigDecimalRef<'_>
impl Add<BigDecimal> for BigDecimalRef<'_>
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: BigDecimal) -> BigDecimal
fn add(self, rhs: BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<BigDecimal> for BigInt
impl Add<BigDecimal> for BigInt
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: BigDecimal) -> BigDecimal
fn add(self, rhs: BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<BigDecimal> for i128
impl Add<BigDecimal> for i128
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: BigDecimal) -> BigDecimal
fn add(self, rhs: BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<BigDecimal> for i16
impl Add<BigDecimal> for i16
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: BigDecimal) -> BigDecimal
fn add(self, rhs: BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<BigDecimal> for i32
impl Add<BigDecimal> for i32
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: BigDecimal) -> BigDecimal
fn add(self, rhs: BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<BigDecimal> for i64
impl Add<BigDecimal> for i64
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: BigDecimal) -> BigDecimal
fn add(self, rhs: BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<BigDecimal> for i8
impl Add<BigDecimal> for i8
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: BigDecimal) -> BigDecimal
fn add(self, rhs: BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<BigDecimal> for u128
impl Add<BigDecimal> for u128
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: BigDecimal) -> BigDecimal
fn add(self, rhs: BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<BigDecimal> for u16
impl Add<BigDecimal> for u16
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: BigDecimal) -> BigDecimal
fn add(self, rhs: BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<BigDecimal> for u32
impl Add<BigDecimal> for u32
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: BigDecimal) -> BigDecimal
fn add(self, rhs: BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<BigDecimal> for u64
impl Add<BigDecimal> for u64
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: BigDecimal) -> BigDecimal
fn add(self, rhs: BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<BigDecimal> for u8
impl Add<BigDecimal> for u8
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: BigDecimal) -> BigDecimal
fn add(self, rhs: BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl Add<BigInt> for &BigDecimal
impl Add<BigInt> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<BigInt> for BigDecimal
impl Add<BigInt> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl<'a, T: Into<BigDecimalRef<'a>>> Add<T> for &BigDecimal
impl<'a, T: Into<BigDecimalRef<'a>>> Add<T> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: T) -> BigDecimal
fn add(self, rhs: T) -> BigDecimal
+
operation. Read moreSource§impl<'a, T: Into<BigDecimalRef<'a>>> Add<T> for BigDecimal
impl<'a, T: Into<BigDecimalRef<'a>>> Add<T> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: T) -> BigDecimal
fn add(self, rhs: T) -> BigDecimal
+
operation. Read moreSource§impl Add<i128> for &BigDecimal
impl Add<i128> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<i128> for BigDecimal
impl Add<i128> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<i16> for &BigDecimal
impl Add<i16> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<i16> for BigDecimal
impl Add<i16> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<i32> for &BigDecimal
impl Add<i32> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<i32> for BigDecimal
impl Add<i32> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<i64> for &BigDecimal
impl Add<i64> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<i64> for BigDecimal
impl Add<i64> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<i8> for &BigDecimal
impl Add<i8> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<i8> for BigDecimal
impl Add<i8> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<u128> for &BigDecimal
impl Add<u128> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<u128> for BigDecimal
impl Add<u128> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<u16> for &BigDecimal
impl Add<u16> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<u16> for BigDecimal
impl Add<u16> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<u32> for &BigDecimal
impl Add<u32> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<u32> for BigDecimal
impl Add<u32> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<u64> for &BigDecimal
impl Add<u64> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<u64> for BigDecimal
impl Add<u64> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<u8> for &BigDecimal
impl Add<u8> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add<u8> for BigDecimal
impl Add<u8> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§impl Add for BigDecimal
impl Add for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
+
operator.Source§fn add(self, rhs: BigDecimal) -> BigDecimal
fn add(self, rhs: BigDecimal) -> BigDecimal
+
operation. Read moreSource§impl AddAssign<&i128> for BigDecimal
impl AddAssign<&i128> for BigDecimal
Source§fn add_assign(&mut self, rhs: &i128)
fn add_assign(&mut self, rhs: &i128)
+=
operation. Read moreSource§impl AddAssign<&i16> for BigDecimal
impl AddAssign<&i16> for BigDecimal
Source§fn add_assign(&mut self, rhs: &i16)
fn add_assign(&mut self, rhs: &i16)
+=
operation. Read moreSource§impl AddAssign<&i32> for BigDecimal
impl AddAssign<&i32> for BigDecimal
Source§fn add_assign(&mut self, rhs: &i32)
fn add_assign(&mut self, rhs: &i32)
+=
operation. Read moreSource§impl AddAssign<&i64> for BigDecimal
impl AddAssign<&i64> for BigDecimal
Source§fn add_assign(&mut self, rhs: &i64)
fn add_assign(&mut self, rhs: &i64)
+=
operation. Read moreSource§impl AddAssign<&i8> for BigDecimal
impl AddAssign<&i8> for BigDecimal
Source§fn add_assign(&mut self, rhs: &i8)
fn add_assign(&mut self, rhs: &i8)
+=
operation. Read moreSource§impl AddAssign<&u128> for BigDecimal
impl AddAssign<&u128> for BigDecimal
Source§fn add_assign(&mut self, rhs: &u128)
fn add_assign(&mut self, rhs: &u128)
+=
operation. Read moreSource§impl AddAssign<&u16> for BigDecimal
impl AddAssign<&u16> for BigDecimal
Source§fn add_assign(&mut self, rhs: &u16)
fn add_assign(&mut self, rhs: &u16)
+=
operation. Read moreSource§impl AddAssign<&u32> for BigDecimal
impl AddAssign<&u32> for BigDecimal
Source§fn add_assign(&mut self, rhs: &u32)
fn add_assign(&mut self, rhs: &u32)
+=
operation. Read moreSource§impl AddAssign<&u64> for BigDecimal
impl AddAssign<&u64> for BigDecimal
Source§fn add_assign(&mut self, rhs: &u64)
fn add_assign(&mut self, rhs: &u64)
+=
operation. Read moreSource§impl AddAssign<&u8> for BigDecimal
impl AddAssign<&u8> for BigDecimal
Source§fn add_assign(&mut self, rhs: &u8)
fn add_assign(&mut self, rhs: &u8)
+=
operation. Read moreSource§impl AddAssign<BigInt> for BigDecimal
impl AddAssign<BigInt> for BigDecimal
Source§fn add_assign(&mut self, rhs: BigInt)
fn add_assign(&mut self, rhs: BigInt)
+=
operation. Read moreSource§impl<'a, N: Into<BigDecimalRef<'a>>> AddAssign<N> for BigDecimal
impl<'a, N: Into<BigDecimalRef<'a>>> AddAssign<N> for BigDecimal
Source§fn add_assign(&mut self, rhs: N)
fn add_assign(&mut self, rhs: N)
+=
operation. Read moreSource§impl AddAssign<i128> for BigDecimal
impl AddAssign<i128> for BigDecimal
Source§fn add_assign(&mut self, rhs: i128)
fn add_assign(&mut self, rhs: i128)
+=
operation. Read moreSource§impl AddAssign<i16> for BigDecimal
impl AddAssign<i16> for BigDecimal
Source§fn add_assign(&mut self, rhs: i16)
fn add_assign(&mut self, rhs: i16)
+=
operation. Read moreSource§impl AddAssign<i32> for BigDecimal
impl AddAssign<i32> for BigDecimal
Source§fn add_assign(&mut self, rhs: i32)
fn add_assign(&mut self, rhs: i32)
+=
operation. Read moreSource§impl AddAssign<i64> for BigDecimal
impl AddAssign<i64> for BigDecimal
Source§fn add_assign(&mut self, rhs: i64)
fn add_assign(&mut self, rhs: i64)
+=
operation. Read moreSource§impl AddAssign<i8> for BigDecimal
impl AddAssign<i8> for BigDecimal
Source§fn add_assign(&mut self, rhs: i8)
fn add_assign(&mut self, rhs: i8)
+=
operation. Read moreSource§impl AddAssign<u128> for BigDecimal
impl AddAssign<u128> for BigDecimal
Source§fn add_assign(&mut self, rhs: u128)
fn add_assign(&mut self, rhs: u128)
+=
operation. Read moreSource§impl AddAssign<u16> for BigDecimal
impl AddAssign<u16> for BigDecimal
Source§fn add_assign(&mut self, rhs: u16)
fn add_assign(&mut self, rhs: u16)
+=
operation. Read moreSource§impl AddAssign<u32> for BigDecimal
impl AddAssign<u32> for BigDecimal
Source§fn add_assign(&mut self, rhs: u32)
fn add_assign(&mut self, rhs: u32)
+=
operation. Read moreSource§impl AddAssign<u64> for BigDecimal
impl AddAssign<u64> for BigDecimal
Source§fn add_assign(&mut self, rhs: u64)
fn add_assign(&mut self, rhs: u64)
+=
operation. Read moreSource§impl AddAssign<u8> for BigDecimal
impl AddAssign<u8> for BigDecimal
Source§fn add_assign(&mut self, rhs: u8)
fn add_assign(&mut self, rhs: u8)
+=
operation. Read moreSource§impl AddAssign for BigDecimal
impl AddAssign for BigDecimal
Source§fn add_assign(&mut self, rhs: BigDecimal)
fn add_assign(&mut self, rhs: BigDecimal)
+=
operation. Read moreSource§impl Clone for BigDecimal
impl Clone for BigDecimal
Source§fn clone(&self) -> BigDecimal
fn clone(&self) -> BigDecimal
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for BigDecimal
impl Debug for BigDecimal
Source§impl Default for BigDecimal
impl Default for BigDecimal
Source§fn default() -> BigDecimal
fn default() -> BigDecimal
Source§impl Display for BigDecimal
impl Display for BigDecimal
Source§impl<'a, 'b> Div<&'b BigDecimal> for &'a BigDecimal
impl<'a, 'b> Div<&'b BigDecimal> for &'a BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§fn div(self, other: &BigDecimal) -> BigDecimal
fn div(self, other: &BigDecimal) -> BigDecimal
/
operation. Read moreSource§impl Div<&BigDecimal> for &f32
impl Div<&BigDecimal> for &f32
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<&BigDecimal> for &f64
impl Div<&BigDecimal> for &f64
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<&BigDecimal> for &i128
impl Div<&BigDecimal> for &i128
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<&BigDecimal> for &i16
impl Div<&BigDecimal> for &i16
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<&BigDecimal> for &i32
impl Div<&BigDecimal> for &i32
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<&BigDecimal> for &i64
impl Div<&BigDecimal> for &i64
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<&BigDecimal> for &i8
impl Div<&BigDecimal> for &i8
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<&BigDecimal> for &u128
impl Div<&BigDecimal> for &u128
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<&BigDecimal> for &u16
impl Div<&BigDecimal> for &u16
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<&BigDecimal> for &u32
impl Div<&BigDecimal> for &u32
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<&BigDecimal> for &u64
impl Div<&BigDecimal> for &u64
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<&BigDecimal> for &u8
impl Div<&BigDecimal> for &u8
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl<'a> Div<&'a BigDecimal> for BigDecimal
impl<'a> Div<&'a BigDecimal> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§fn div(self, other: &'a BigDecimal) -> BigDecimal
fn div(self, other: &'a BigDecimal) -> BigDecimal
/
operation. Read moreSource§impl Div<&BigDecimal> for f32
impl Div<&BigDecimal> for f32
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<&BigDecimal> for f64
impl Div<&BigDecimal> for f64
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<&BigDecimal> for i128
impl Div<&BigDecimal> for i128
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§fn div(self, denom: &BigDecimal) -> BigDecimal
fn div(self, denom: &BigDecimal) -> BigDecimal
/
operation. Read moreSource§impl Div<&BigDecimal> for i16
impl Div<&BigDecimal> for i16
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§fn div(self, denom: &BigDecimal) -> BigDecimal
fn div(self, denom: &BigDecimal) -> BigDecimal
/
operation. Read moreSource§impl Div<&BigDecimal> for i32
impl Div<&BigDecimal> for i32
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§fn div(self, denom: &BigDecimal) -> BigDecimal
fn div(self, denom: &BigDecimal) -> BigDecimal
/
operation. Read moreSource§impl Div<&BigDecimal> for i64
impl Div<&BigDecimal> for i64
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§fn div(self, denom: &BigDecimal) -> BigDecimal
fn div(self, denom: &BigDecimal) -> BigDecimal
/
operation. Read moreSource§impl Div<&BigDecimal> for i8
impl Div<&BigDecimal> for i8
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§fn div(self, denom: &BigDecimal) -> BigDecimal
fn div(self, denom: &BigDecimal) -> BigDecimal
/
operation. Read moreSource§impl Div<&BigDecimal> for u128
impl Div<&BigDecimal> for u128
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§fn div(self, denom: &BigDecimal) -> BigDecimal
fn div(self, denom: &BigDecimal) -> BigDecimal
/
operation. Read moreSource§impl Div<&BigDecimal> for u16
impl Div<&BigDecimal> for u16
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§fn div(self, denom: &BigDecimal) -> BigDecimal
fn div(self, denom: &BigDecimal) -> BigDecimal
/
operation. Read moreSource§impl Div<&BigDecimal> for u32
impl Div<&BigDecimal> for u32
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§fn div(self, denom: &BigDecimal) -> BigDecimal
fn div(self, denom: &BigDecimal) -> BigDecimal
/
operation. Read moreSource§impl Div<&BigDecimal> for u64
impl Div<&BigDecimal> for u64
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§fn div(self, denom: &BigDecimal) -> BigDecimal
fn div(self, denom: &BigDecimal) -> BigDecimal
/
operation. Read moreSource§impl Div<&BigDecimal> for u8
impl Div<&BigDecimal> for u8
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§fn div(self, denom: &BigDecimal) -> BigDecimal
fn div(self, denom: &BigDecimal) -> BigDecimal
/
operation. Read moreSource§impl Div<&f32> for BigDecimal
impl Div<&f32> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<&f64> for BigDecimal
impl Div<&f64> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<&i128> for BigDecimal
impl Div<&i128> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<&i16> for BigDecimal
impl Div<&i16> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<&i32> for BigDecimal
impl Div<&i32> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<&i64> for BigDecimal
impl Div<&i64> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<&i8> for BigDecimal
impl Div<&i8> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<&u128> for BigDecimal
impl Div<&u128> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<&u16> for BigDecimal
impl Div<&u16> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<&u32> for BigDecimal
impl Div<&u32> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<&u64> for BigDecimal
impl Div<&u64> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<&u8> for BigDecimal
impl Div<&u8> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl<'a> Div<BigDecimal> for &'a BigDecimal
impl<'a> Div<BigDecimal> for &'a BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§fn div(self, other: BigDecimal) -> BigDecimal
fn div(self, other: BigDecimal) -> BigDecimal
/
operation. Read moreSource§impl Div<BigDecimal> for &f32
impl Div<BigDecimal> for &f32
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<BigDecimal> for &f64
impl Div<BigDecimal> for &f64
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<BigDecimal> for &i128
impl Div<BigDecimal> for &i128
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<BigDecimal> for &i16
impl Div<BigDecimal> for &i16
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<BigDecimal> for &i32
impl Div<BigDecimal> for &i32
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<BigDecimal> for &i64
impl Div<BigDecimal> for &i64
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<BigDecimal> for &i8
impl Div<BigDecimal> for &i8
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<BigDecimal> for &u128
impl Div<BigDecimal> for &u128
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<BigDecimal> for &u16
impl Div<BigDecimal> for &u16
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<BigDecimal> for &u32
impl Div<BigDecimal> for &u32
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<BigDecimal> for &u64
impl Div<BigDecimal> for &u64
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<BigDecimal> for &u8
impl Div<BigDecimal> for &u8
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<BigDecimal> for f32
impl Div<BigDecimal> for f32
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<BigDecimal> for f64
impl Div<BigDecimal> for f64
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<BigDecimal> for i128
impl Div<BigDecimal> for i128
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§fn div(self, denom: BigDecimal) -> BigDecimal
fn div(self, denom: BigDecimal) -> BigDecimal
/
operation. Read moreSource§impl Div<BigDecimal> for i16
impl Div<BigDecimal> for i16
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§fn div(self, denom: BigDecimal) -> BigDecimal
fn div(self, denom: BigDecimal) -> BigDecimal
/
operation. Read moreSource§impl Div<BigDecimal> for i32
impl Div<BigDecimal> for i32
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§fn div(self, denom: BigDecimal) -> BigDecimal
fn div(self, denom: BigDecimal) -> BigDecimal
/
operation. Read moreSource§impl Div<BigDecimal> for i64
impl Div<BigDecimal> for i64
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§fn div(self, denom: BigDecimal) -> BigDecimal
fn div(self, denom: BigDecimal) -> BigDecimal
/
operation. Read moreSource§impl Div<BigDecimal> for i8
impl Div<BigDecimal> for i8
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§fn div(self, denom: BigDecimal) -> BigDecimal
fn div(self, denom: BigDecimal) -> BigDecimal
/
operation. Read moreSource§impl Div<BigDecimal> for u128
impl Div<BigDecimal> for u128
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§fn div(self, denom: BigDecimal) -> BigDecimal
fn div(self, denom: BigDecimal) -> BigDecimal
/
operation. Read moreSource§impl Div<BigDecimal> for u16
impl Div<BigDecimal> for u16
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§fn div(self, denom: BigDecimal) -> BigDecimal
fn div(self, denom: BigDecimal) -> BigDecimal
/
operation. Read moreSource§impl Div<BigDecimal> for u32
impl Div<BigDecimal> for u32
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§fn div(self, denom: BigDecimal) -> BigDecimal
fn div(self, denom: BigDecimal) -> BigDecimal
/
operation. Read moreSource§impl Div<BigDecimal> for u64
impl Div<BigDecimal> for u64
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§fn div(self, denom: BigDecimal) -> BigDecimal
fn div(self, denom: BigDecimal) -> BigDecimal
/
operation. Read moreSource§impl Div<BigDecimal> for u8
impl Div<BigDecimal> for u8
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§fn div(self, denom: BigDecimal) -> BigDecimal
fn div(self, denom: BigDecimal) -> BigDecimal
/
operation. Read moreSource§impl Div<f32> for &BigDecimal
impl Div<f32> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<f32> for BigDecimal
impl Div<f32> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<f64> for &BigDecimal
impl Div<f64> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<f64> for BigDecimal
impl Div<f64> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<i128> for &BigDecimal
impl Div<i128> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<i128> for BigDecimal
impl Div<i128> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<i16> for &BigDecimal
impl Div<i16> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<i16> for BigDecimal
impl Div<i16> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<i32> for &BigDecimal
impl Div<i32> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<i32> for BigDecimal
impl Div<i32> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<i64> for &BigDecimal
impl Div<i64> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<i64> for BigDecimal
impl Div<i64> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<i8> for &BigDecimal
impl Div<i8> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<i8> for BigDecimal
impl Div<i8> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<u128> for &BigDecimal
impl Div<u128> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<u128> for BigDecimal
impl Div<u128> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<u16> for &BigDecimal
impl Div<u16> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<u16> for BigDecimal
impl Div<u16> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<u32> for &BigDecimal
impl Div<u32> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<u32> for BigDecimal
impl Div<u32> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<u64> for &BigDecimal
impl Div<u64> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<u64> for BigDecimal
impl Div<u64> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<u8> for &BigDecimal
impl Div<u8> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div<u8> for BigDecimal
impl Div<u8> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§impl Div for BigDecimal
impl Div for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
/
operator.Source§fn div(self, other: BigDecimal) -> BigDecimal
fn div(self, other: BigDecimal) -> BigDecimal
/
operation. Read moreSource§impl DivAssign<&f32> for BigDecimal
impl DivAssign<&f32> for BigDecimal
Source§fn div_assign(&mut self, denom: &f32)
fn div_assign(&mut self, denom: &f32)
/=
operation. Read moreSource§impl DivAssign<&f64> for BigDecimal
impl DivAssign<&f64> for BigDecimal
Source§fn div_assign(&mut self, denom: &f64)
fn div_assign(&mut self, denom: &f64)
/=
operation. Read moreSource§impl DivAssign<&i128> for BigDecimal
impl DivAssign<&i128> for BigDecimal
Source§fn div_assign(&mut self, denom: &i128)
fn div_assign(&mut self, denom: &i128)
/=
operation. Read moreSource§impl DivAssign<&i16> for BigDecimal
impl DivAssign<&i16> for BigDecimal
Source§fn div_assign(&mut self, denom: &i16)
fn div_assign(&mut self, denom: &i16)
/=
operation. Read moreSource§impl DivAssign<&i32> for BigDecimal
impl DivAssign<&i32> for BigDecimal
Source§fn div_assign(&mut self, denom: &i32)
fn div_assign(&mut self, denom: &i32)
/=
operation. Read moreSource§impl DivAssign<&i64> for BigDecimal
impl DivAssign<&i64> for BigDecimal
Source§fn div_assign(&mut self, denom: &i64)
fn div_assign(&mut self, denom: &i64)
/=
operation. Read moreSource§impl DivAssign<&i8> for BigDecimal
impl DivAssign<&i8> for BigDecimal
Source§fn div_assign(&mut self, denom: &i8)
fn div_assign(&mut self, denom: &i8)
/=
operation. Read moreSource§impl DivAssign<&u128> for BigDecimal
impl DivAssign<&u128> for BigDecimal
Source§fn div_assign(&mut self, denom: &u128)
fn div_assign(&mut self, denom: &u128)
/=
operation. Read moreSource§impl DivAssign<&u16> for BigDecimal
impl DivAssign<&u16> for BigDecimal
Source§fn div_assign(&mut self, denom: &u16)
fn div_assign(&mut self, denom: &u16)
/=
operation. Read moreSource§impl DivAssign<&u32> for BigDecimal
impl DivAssign<&u32> for BigDecimal
Source§fn div_assign(&mut self, denom: &u32)
fn div_assign(&mut self, denom: &u32)
/=
operation. Read moreSource§impl DivAssign<&u64> for BigDecimal
impl DivAssign<&u64> for BigDecimal
Source§fn div_assign(&mut self, denom: &u64)
fn div_assign(&mut self, denom: &u64)
/=
operation. Read moreSource§impl DivAssign<&u8> for BigDecimal
impl DivAssign<&u8> for BigDecimal
Source§fn div_assign(&mut self, denom: &u8)
fn div_assign(&mut self, denom: &u8)
/=
operation. Read moreSource§impl DivAssign<f32> for BigDecimal
impl DivAssign<f32> for BigDecimal
Source§fn div_assign(&mut self, denom: f32)
fn div_assign(&mut self, denom: f32)
/=
operation. Read moreSource§impl DivAssign<f64> for BigDecimal
impl DivAssign<f64> for BigDecimal
Source§fn div_assign(&mut self, denom: f64)
fn div_assign(&mut self, denom: f64)
/=
operation. Read moreSource§impl DivAssign<i128> for BigDecimal
impl DivAssign<i128> for BigDecimal
Source§fn div_assign(&mut self, rhs: i128)
fn div_assign(&mut self, rhs: i128)
/=
operation. Read moreSource§impl DivAssign<i16> for BigDecimal
impl DivAssign<i16> for BigDecimal
Source§fn div_assign(&mut self, rhs: i16)
fn div_assign(&mut self, rhs: i16)
/=
operation. Read moreSource§impl DivAssign<i32> for BigDecimal
impl DivAssign<i32> for BigDecimal
Source§fn div_assign(&mut self, rhs: i32)
fn div_assign(&mut self, rhs: i32)
/=
operation. Read moreSource§impl DivAssign<i64> for BigDecimal
impl DivAssign<i64> for BigDecimal
Source§fn div_assign(&mut self, rhs: i64)
fn div_assign(&mut self, rhs: i64)
/=
operation. Read moreSource§impl DivAssign<i8> for BigDecimal
impl DivAssign<i8> for BigDecimal
Source§fn div_assign(&mut self, rhs: i8)
fn div_assign(&mut self, rhs: i8)
/=
operation. Read moreSource§impl DivAssign<u128> for BigDecimal
impl DivAssign<u128> for BigDecimal
Source§fn div_assign(&mut self, rhs: u128)
fn div_assign(&mut self, rhs: u128)
/=
operation. Read moreSource§impl DivAssign<u16> for BigDecimal
impl DivAssign<u16> for BigDecimal
Source§fn div_assign(&mut self, rhs: u16)
fn div_assign(&mut self, rhs: u16)
/=
operation. Read moreSource§impl DivAssign<u32> for BigDecimal
impl DivAssign<u32> for BigDecimal
Source§fn div_assign(&mut self, rhs: u32)
fn div_assign(&mut self, rhs: u32)
/=
operation. Read moreSource§impl DivAssign<u64> for BigDecimal
impl DivAssign<u64> for BigDecimal
Source§fn div_assign(&mut self, rhs: u64)
fn div_assign(&mut self, rhs: u64)
/=
operation. Read moreSource§impl DivAssign<u8> for BigDecimal
impl DivAssign<u8> for BigDecimal
Source§fn div_assign(&mut self, rhs: u8)
fn div_assign(&mut self, rhs: u8)
/=
operation. Read moreSource§impl<'a> From<&'a BigDecimal> for BigDecimalRef<'a>
impl<'a> From<&'a BigDecimal> for BigDecimalRef<'a>
Source§fn from(n: &'a BigDecimal) -> Self
fn from(n: &'a BigDecimal) -> Self
Source§impl From<&i128> for BigDecimal
impl From<&i128> for BigDecimal
Source§impl From<&i16> for BigDecimal
impl From<&i16> for BigDecimal
Source§impl From<&i32> for BigDecimal
impl From<&i32> for BigDecimal
Source§impl From<&i64> for BigDecimal
impl From<&i64> for BigDecimal
Source§impl From<&i8> for BigDecimal
impl From<&i8> for BigDecimal
Source§impl From<&u128> for BigDecimal
impl From<&u128> for BigDecimal
Source§impl From<&u16> for BigDecimal
impl From<&u16> for BigDecimal
Source§impl From<&u32> for BigDecimal
impl From<&u32> for BigDecimal
Source§impl From<&u64> for BigDecimal
impl From<&u64> for BigDecimal
Source§impl From<&u8> for BigDecimal
impl From<&u8> for BigDecimal
Source§impl From<BigInt> for BigDecimal
impl From<BigInt> for BigDecimal
Source§impl From<i128> for BigDecimal
impl From<i128> for BigDecimal
Source§impl From<i16> for BigDecimal
impl From<i16> for BigDecimal
Source§impl From<i32> for BigDecimal
impl From<i32> for BigDecimal
Source§impl From<i64> for BigDecimal
impl From<i64> for BigDecimal
Source§impl From<i8> for BigDecimal
impl From<i8> for BigDecimal
Source§impl From<u128> for BigDecimal
impl From<u128> for BigDecimal
Source§impl From<u16> for BigDecimal
impl From<u16> for BigDecimal
Source§impl From<u32> for BigDecimal
impl From<u32> for BigDecimal
Source§impl From<u64> for BigDecimal
impl From<u64> for BigDecimal
Source§impl From<u8> for BigDecimal
impl From<u8> for BigDecimal
Source§impl FromPrimitive for BigDecimal
impl FromPrimitive for BigDecimal
Source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
i64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
u64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
i128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moreSource§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
u128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moreSource§fn from_f32(n: f32) -> Option<Self>
fn from_f32(n: f32) -> Option<Self>
f32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_f64(n: f64) -> Option<Self>
fn from_f64(n: f64) -> Option<Self>
f64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moreSource§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
isize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
i8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
i16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
i32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
usize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
u8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§impl FromStr for BigDecimal
impl FromStr for BigDecimal
Source§type Err = ParseBigDecimalError
type Err = ParseBigDecimalError
Source§fn from_str(s: &str) -> Result<BigDecimal, ParseBigDecimalError>
fn from_str(s: &str) -> Result<BigDecimal, ParseBigDecimalError>
s
to return a value of this type. Read moreSource§impl Hash for BigDecimal
impl Hash for BigDecimal
Source§impl LowerExp for BigDecimal
impl LowerExp for BigDecimal
Source§impl<'a, 'b> Mul<&'b BigDecimal> for &'a BigDecimal
impl<'a, 'b> Mul<&'b BigDecimal> for &'a BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: &BigDecimal) -> BigDecimal
fn mul(self, rhs: &BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl<'a, 'b> Mul<&'a BigDecimal> for &'b BigInt
impl<'a, 'b> Mul<&'a BigDecimal> for &'b BigInt
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: &BigDecimal) -> BigDecimal
fn mul(self, rhs: &BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<&BigDecimal> for &i128
impl Mul<&BigDecimal> for &i128
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: &BigDecimal) -> BigDecimal
fn mul(self, rhs: &BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<&BigDecimal> for &i16
impl Mul<&BigDecimal> for &i16
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: &BigDecimal) -> BigDecimal
fn mul(self, rhs: &BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<&BigDecimal> for &i32
impl Mul<&BigDecimal> for &i32
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: &BigDecimal) -> BigDecimal
fn mul(self, rhs: &BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<&BigDecimal> for &i64
impl Mul<&BigDecimal> for &i64
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: &BigDecimal) -> BigDecimal
fn mul(self, rhs: &BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<&BigDecimal> for &i8
impl Mul<&BigDecimal> for &i8
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: &BigDecimal) -> BigDecimal
fn mul(self, rhs: &BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<&BigDecimal> for &u128
impl Mul<&BigDecimal> for &u128
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: &BigDecimal) -> BigDecimal
fn mul(self, rhs: &BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<&BigDecimal> for &u16
impl Mul<&BigDecimal> for &u16
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: &BigDecimal) -> BigDecimal
fn mul(self, rhs: &BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<&BigDecimal> for &u32
impl Mul<&BigDecimal> for &u32
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: &BigDecimal) -> BigDecimal
fn mul(self, rhs: &BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<&BigDecimal> for &u64
impl Mul<&BigDecimal> for &u64
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: &BigDecimal) -> BigDecimal
fn mul(self, rhs: &BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<&BigDecimal> for &u8
impl Mul<&BigDecimal> for &u8
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: &BigDecimal) -> BigDecimal
fn mul(self, rhs: &BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl<'a> Mul<&'a BigDecimal> for BigDecimal
impl<'a> Mul<&'a BigDecimal> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: &'a BigDecimal) -> BigDecimal
fn mul(self, rhs: &'a BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl<'a> Mul<&'a BigDecimal> for BigInt
impl<'a> Mul<&'a BigDecimal> for BigInt
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: &BigDecimal) -> BigDecimal
fn mul(self, rhs: &BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<&BigDecimal> for i128
impl Mul<&BigDecimal> for i128
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: &BigDecimal) -> BigDecimal
fn mul(self, rhs: &BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<&BigDecimal> for i16
impl Mul<&BigDecimal> for i16
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: &BigDecimal) -> BigDecimal
fn mul(self, rhs: &BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<&BigDecimal> for i32
impl Mul<&BigDecimal> for i32
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: &BigDecimal) -> BigDecimal
fn mul(self, rhs: &BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<&BigDecimal> for i64
impl Mul<&BigDecimal> for i64
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: &BigDecimal) -> BigDecimal
fn mul(self, rhs: &BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<&BigDecimal> for i8
impl Mul<&BigDecimal> for i8
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: &BigDecimal) -> BigDecimal
fn mul(self, rhs: &BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<&BigDecimal> for u128
impl Mul<&BigDecimal> for u128
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: &BigDecimal) -> BigDecimal
fn mul(self, rhs: &BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<&BigDecimal> for u16
impl Mul<&BigDecimal> for u16
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: &BigDecimal) -> BigDecimal
fn mul(self, rhs: &BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<&BigDecimal> for u32
impl Mul<&BigDecimal> for u32
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: &BigDecimal) -> BigDecimal
fn mul(self, rhs: &BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<&BigDecimal> for u64
impl Mul<&BigDecimal> for u64
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: &BigDecimal) -> BigDecimal
fn mul(self, rhs: &BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<&BigDecimal> for u8
impl Mul<&BigDecimal> for u8
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: &BigDecimal) -> BigDecimal
fn mul(self, rhs: &BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl<'a, 'b> Mul<&'a BigInt> for &'b BigDecimal
impl<'a, 'b> Mul<&'a BigInt> for &'b BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl<'a> Mul<&'a BigInt> for BigDecimal
impl<'a> Mul<&'a BigInt> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<&i128> for &BigDecimal
impl Mul<&i128> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<&i128> for BigDecimal
impl Mul<&i128> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<&i16> for &BigDecimal
impl Mul<&i16> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<&i16> for BigDecimal
impl Mul<&i16> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<&i32> for &BigDecimal
impl Mul<&i32> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<&i32> for BigDecimal
impl Mul<&i32> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<&i64> for &BigDecimal
impl Mul<&i64> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<&i64> for BigDecimal
impl Mul<&i64> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<&i8> for &BigDecimal
impl Mul<&i8> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<&i8> for BigDecimal
impl Mul<&i8> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<&u128> for &BigDecimal
impl Mul<&u128> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<&u128> for BigDecimal
impl Mul<&u128> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<&u16> for &BigDecimal
impl Mul<&u16> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<&u16> for BigDecimal
impl Mul<&u16> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<&u32> for &BigDecimal
impl Mul<&u32> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<&u32> for BigDecimal
impl Mul<&u32> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<&u64> for &BigDecimal
impl Mul<&u64> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<&u64> for BigDecimal
impl Mul<&u64> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<&u8> for &BigDecimal
impl Mul<&u8> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<&u8> for BigDecimal
impl Mul<&u8> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl<'a> Mul<BigDecimal> for &'a BigDecimal
impl<'a> Mul<BigDecimal> for &'a BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: BigDecimal) -> BigDecimal
fn mul(self, rhs: BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl<'a> Mul<BigDecimal> for &'a BigInt
impl<'a> Mul<BigDecimal> for &'a BigInt
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: BigDecimal) -> BigDecimal
fn mul(self, rhs: BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<BigDecimal> for &i128
impl Mul<BigDecimal> for &i128
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: BigDecimal) -> BigDecimal
fn mul(self, rhs: BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<BigDecimal> for &i16
impl Mul<BigDecimal> for &i16
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: BigDecimal) -> BigDecimal
fn mul(self, rhs: BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<BigDecimal> for &i32
impl Mul<BigDecimal> for &i32
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: BigDecimal) -> BigDecimal
fn mul(self, rhs: BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<BigDecimal> for &i64
impl Mul<BigDecimal> for &i64
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: BigDecimal) -> BigDecimal
fn mul(self, rhs: BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<BigDecimal> for &i8
impl Mul<BigDecimal> for &i8
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: BigDecimal) -> BigDecimal
fn mul(self, rhs: BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<BigDecimal> for &u128
impl Mul<BigDecimal> for &u128
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: BigDecimal) -> BigDecimal
fn mul(self, rhs: BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<BigDecimal> for &u16
impl Mul<BigDecimal> for &u16
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: BigDecimal) -> BigDecimal
fn mul(self, rhs: BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<BigDecimal> for &u32
impl Mul<BigDecimal> for &u32
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: BigDecimal) -> BigDecimal
fn mul(self, rhs: BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<BigDecimal> for &u64
impl Mul<BigDecimal> for &u64
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: BigDecimal) -> BigDecimal
fn mul(self, rhs: BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<BigDecimal> for &u8
impl Mul<BigDecimal> for &u8
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: BigDecimal) -> BigDecimal
fn mul(self, rhs: BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<BigDecimal> for BigInt
impl Mul<BigDecimal> for BigInt
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: BigDecimal) -> BigDecimal
fn mul(self, rhs: BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<BigDecimal> for i128
impl Mul<BigDecimal> for i128
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: BigDecimal) -> BigDecimal
fn mul(self, rhs: BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<BigDecimal> for i16
impl Mul<BigDecimal> for i16
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: BigDecimal) -> BigDecimal
fn mul(self, rhs: BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<BigDecimal> for i32
impl Mul<BigDecimal> for i32
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: BigDecimal) -> BigDecimal
fn mul(self, rhs: BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<BigDecimal> for i64
impl Mul<BigDecimal> for i64
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: BigDecimal) -> BigDecimal
fn mul(self, rhs: BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<BigDecimal> for i8
impl Mul<BigDecimal> for i8
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: BigDecimal) -> BigDecimal
fn mul(self, rhs: BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<BigDecimal> for u128
impl Mul<BigDecimal> for u128
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: BigDecimal) -> BigDecimal
fn mul(self, rhs: BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<BigDecimal> for u16
impl Mul<BigDecimal> for u16
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: BigDecimal) -> BigDecimal
fn mul(self, rhs: BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<BigDecimal> for u32
impl Mul<BigDecimal> for u32
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: BigDecimal) -> BigDecimal
fn mul(self, rhs: BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<BigDecimal> for u64
impl Mul<BigDecimal> for u64
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: BigDecimal) -> BigDecimal
fn mul(self, rhs: BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl Mul<BigDecimal> for u8
impl Mul<BigDecimal> for u8
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: BigDecimal) -> BigDecimal
fn mul(self, rhs: BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl<'a> Mul<BigInt> for &'a BigDecimal
impl<'a> Mul<BigInt> for &'a BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<BigInt> for BigDecimal
impl Mul<BigInt> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<i128> for &BigDecimal
impl Mul<i128> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<i128> for BigDecimal
impl Mul<i128> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<i16> for &BigDecimal
impl Mul<i16> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<i16> for BigDecimal
impl Mul<i16> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<i32> for &BigDecimal
impl Mul<i32> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<i32> for BigDecimal
impl Mul<i32> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<i64> for &BigDecimal
impl Mul<i64> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<i64> for BigDecimal
impl Mul<i64> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<i8> for &BigDecimal
impl Mul<i8> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<i8> for BigDecimal
impl Mul<i8> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<u128> for &BigDecimal
impl Mul<u128> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<u128> for BigDecimal
impl Mul<u128> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<u16> for &BigDecimal
impl Mul<u16> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<u16> for BigDecimal
impl Mul<u16> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<u32> for &BigDecimal
impl Mul<u32> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<u32> for BigDecimal
impl Mul<u32> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<u64> for &BigDecimal
impl Mul<u64> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<u64> for BigDecimal
impl Mul<u64> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<u8> for &BigDecimal
impl Mul<u8> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul<u8> for BigDecimal
impl Mul<u8> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§impl Mul for BigDecimal
impl Mul for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
*
operator.Source§fn mul(self, rhs: BigDecimal) -> BigDecimal
fn mul(self, rhs: BigDecimal) -> BigDecimal
*
operation. Read moreSource§impl<'a> MulAssign<&'a BigDecimal> for BigDecimal
impl<'a> MulAssign<&'a BigDecimal> for BigDecimal
Source§fn mul_assign(&mut self, rhs: &BigDecimal)
fn mul_assign(&mut self, rhs: &BigDecimal)
*=
operation. Read moreSource§impl<'a> MulAssign<&'a BigInt> for BigDecimal
impl<'a> MulAssign<&'a BigInt> for BigDecimal
Source§fn mul_assign(&mut self, rhs: &BigInt)
fn mul_assign(&mut self, rhs: &BigInt)
*=
operation. Read moreSource§impl MulAssign<&i128> for BigDecimal
impl MulAssign<&i128> for BigDecimal
Source§fn mul_assign(&mut self, rhs: &i128)
fn mul_assign(&mut self, rhs: &i128)
*=
operation. Read moreSource§impl MulAssign<&i16> for BigDecimal
impl MulAssign<&i16> for BigDecimal
Source§fn mul_assign(&mut self, rhs: &i16)
fn mul_assign(&mut self, rhs: &i16)
*=
operation. Read moreSource§impl MulAssign<&i32> for BigDecimal
impl MulAssign<&i32> for BigDecimal
Source§fn mul_assign(&mut self, rhs: &i32)
fn mul_assign(&mut self, rhs: &i32)
*=
operation. Read moreSource§impl MulAssign<&i64> for BigDecimal
impl MulAssign<&i64> for BigDecimal
Source§fn mul_assign(&mut self, rhs: &i64)
fn mul_assign(&mut self, rhs: &i64)
*=
operation. Read moreSource§impl MulAssign<&i8> for BigDecimal
impl MulAssign<&i8> for BigDecimal
Source§fn mul_assign(&mut self, rhs: &i8)
fn mul_assign(&mut self, rhs: &i8)
*=
operation. Read moreSource§impl MulAssign<&u128> for BigDecimal
impl MulAssign<&u128> for BigDecimal
Source§fn mul_assign(&mut self, rhs: &u128)
fn mul_assign(&mut self, rhs: &u128)
*=
operation. Read moreSource§impl MulAssign<&u16> for BigDecimal
impl MulAssign<&u16> for BigDecimal
Source§fn mul_assign(&mut self, rhs: &u16)
fn mul_assign(&mut self, rhs: &u16)
*=
operation. Read moreSource§impl MulAssign<&u32> for BigDecimal
impl MulAssign<&u32> for BigDecimal
Source§fn mul_assign(&mut self, rhs: &u32)
fn mul_assign(&mut self, rhs: &u32)
*=
operation. Read moreSource§impl MulAssign<&u64> for BigDecimal
impl MulAssign<&u64> for BigDecimal
Source§fn mul_assign(&mut self, rhs: &u64)
fn mul_assign(&mut self, rhs: &u64)
*=
operation. Read moreSource§impl MulAssign<&u8> for BigDecimal
impl MulAssign<&u8> for BigDecimal
Source§fn mul_assign(&mut self, rhs: &u8)
fn mul_assign(&mut self, rhs: &u8)
*=
operation. Read moreSource§impl MulAssign<BigInt> for BigDecimal
impl MulAssign<BigInt> for BigDecimal
Source§fn mul_assign(&mut self, rhs: BigInt)
fn mul_assign(&mut self, rhs: BigInt)
*=
operation. Read moreSource§impl MulAssign<i128> for BigDecimal
impl MulAssign<i128> for BigDecimal
Source§fn mul_assign(&mut self, rhs: i128)
fn mul_assign(&mut self, rhs: i128)
*=
operation. Read moreSource§impl MulAssign<i16> for BigDecimal
impl MulAssign<i16> for BigDecimal
Source§fn mul_assign(&mut self, rhs: i16)
fn mul_assign(&mut self, rhs: i16)
*=
operation. Read moreSource§impl MulAssign<i32> for BigDecimal
impl MulAssign<i32> for BigDecimal
Source§fn mul_assign(&mut self, rhs: i32)
fn mul_assign(&mut self, rhs: i32)
*=
operation. Read moreSource§impl MulAssign<i64> for BigDecimal
impl MulAssign<i64> for BigDecimal
Source§fn mul_assign(&mut self, rhs: i64)
fn mul_assign(&mut self, rhs: i64)
*=
operation. Read moreSource§impl MulAssign<i8> for BigDecimal
impl MulAssign<i8> for BigDecimal
Source§fn mul_assign(&mut self, rhs: i8)
fn mul_assign(&mut self, rhs: i8)
*=
operation. Read moreSource§impl MulAssign<u128> for BigDecimal
impl MulAssign<u128> for BigDecimal
Source§fn mul_assign(&mut self, rhs: u128)
fn mul_assign(&mut self, rhs: u128)
*=
operation. Read moreSource§impl MulAssign<u16> for BigDecimal
impl MulAssign<u16> for BigDecimal
Source§fn mul_assign(&mut self, rhs: u16)
fn mul_assign(&mut self, rhs: u16)
*=
operation. Read moreSource§impl MulAssign<u32> for BigDecimal
impl MulAssign<u32> for BigDecimal
Source§fn mul_assign(&mut self, rhs: u32)
fn mul_assign(&mut self, rhs: u32)
*=
operation. Read moreSource§impl MulAssign<u64> for BigDecimal
impl MulAssign<u64> for BigDecimal
Source§fn mul_assign(&mut self, rhs: u64)
fn mul_assign(&mut self, rhs: u64)
*=
operation. Read moreSource§impl MulAssign<u8> for BigDecimal
impl MulAssign<u8> for BigDecimal
Source§fn mul_assign(&mut self, rhs: u8)
fn mul_assign(&mut self, rhs: u8)
*=
operation. Read moreSource§impl MulAssign for BigDecimal
impl MulAssign for BigDecimal
Source§fn mul_assign(&mut self, other: BigDecimal)
fn mul_assign(&mut self, other: BigDecimal)
*=
operation. Read moreSource§impl<'a> Neg for &'a BigDecimal
impl<'a> Neg for &'a BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn neg(self) -> BigDecimal
fn neg(self) -> BigDecimal
-
operation. Read moreSource§impl Neg for BigDecimal
impl Neg for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn neg(self) -> BigDecimal
fn neg(self) -> BigDecimal
-
operation. Read moreSource§impl Num for BigDecimal
impl Num for BigDecimal
Source§fn from_str_radix(
s: &str,
radix: u32,
) -> Result<BigDecimal, ParseBigDecimalError>
fn from_str_radix( s: &str, radix: u32, ) -> Result<BigDecimal, ParseBigDecimalError>
Creates and initializes a BigDecimal.
type FromStrRadixErr = ParseBigDecimalError
Source§impl One for BigDecimal
impl One for BigDecimal
Source§fn one() -> BigDecimal
fn one() -> BigDecimal
Source§impl Ord for BigDecimal
impl Ord for BigDecimal
Source§fn cmp(&self, other: &BigDecimal) -> Ordering
fn cmp(&self, other: &BigDecimal) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for BigDecimal
impl PartialEq for BigDecimal
Source§impl PartialOrd for BigDecimal
impl PartialOrd for BigDecimal
Source§impl<'a, 'b> Rem<&'b BigDecimal> for &'a BigDecimal
impl<'a, 'b> Rem<&'b BigDecimal> for &'a BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
%
operator.Source§fn rem(self, other: &BigDecimal) -> BigDecimal
fn rem(self, other: &BigDecimal) -> BigDecimal
%
operation. Read moreSource§impl<'a> Rem<&'a BigDecimal> for BigDecimal
impl<'a> Rem<&'a BigDecimal> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
%
operator.Source§fn rem(self, other: &BigDecimal) -> BigDecimal
fn rem(self, other: &BigDecimal) -> BigDecimal
%
operation. Read moreSource§impl<'a> Rem<BigDecimal> for &'a BigDecimal
impl<'a> Rem<BigDecimal> for &'a BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
%
operator.Source§fn rem(self, other: BigDecimal) -> BigDecimal
fn rem(self, other: BigDecimal) -> BigDecimal
%
operation. Read moreSource§impl Rem for BigDecimal
impl Rem for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
%
operator.Source§fn rem(self, other: BigDecimal) -> BigDecimal
fn rem(self, other: BigDecimal) -> BigDecimal
%
operation. Read moreSource§impl RemAssign<&BigDecimal> for BigDecimal
impl RemAssign<&BigDecimal> for BigDecimal
Source§fn rem_assign(&mut self, other: &BigDecimal)
fn rem_assign(&mut self, other: &BigDecimal)
%=
operation. Read moreSource§impl Signed for BigDecimal
impl Signed for BigDecimal
Source§fn abs(&self) -> BigDecimal
fn abs(&self) -> BigDecimal
Source§fn abs_sub(&self, other: &BigDecimal) -> BigDecimal
fn abs_sub(&self, other: &BigDecimal) -> BigDecimal
Source§fn signum(&self) -> BigDecimal
fn signum(&self) -> BigDecimal
Source§fn is_positive(&self) -> bool
fn is_positive(&self) -> bool
Source§fn is_negative(&self) -> bool
fn is_negative(&self) -> bool
Source§impl Sub<&BigDecimal> for &i128
impl Sub<&BigDecimal> for &i128
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: &BigDecimal) -> BigDecimal
fn sub(self, rhs: &BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<&BigDecimal> for &i16
impl Sub<&BigDecimal> for &i16
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: &BigDecimal) -> BigDecimal
fn sub(self, rhs: &BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<&BigDecimal> for &i32
impl Sub<&BigDecimal> for &i32
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: &BigDecimal) -> BigDecimal
fn sub(self, rhs: &BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<&BigDecimal> for &i64
impl Sub<&BigDecimal> for &i64
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: &BigDecimal) -> BigDecimal
fn sub(self, rhs: &BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<&BigDecimal> for &i8
impl Sub<&BigDecimal> for &i8
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: &BigDecimal) -> BigDecimal
fn sub(self, rhs: &BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<&BigDecimal> for &u128
impl Sub<&BigDecimal> for &u128
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: &BigDecimal) -> BigDecimal
fn sub(self, rhs: &BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<&BigDecimal> for &u16
impl Sub<&BigDecimal> for &u16
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: &BigDecimal) -> BigDecimal
fn sub(self, rhs: &BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<&BigDecimal> for &u32
impl Sub<&BigDecimal> for &u32
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: &BigDecimal) -> BigDecimal
fn sub(self, rhs: &BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<&BigDecimal> for &u64
impl Sub<&BigDecimal> for &u64
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: &BigDecimal) -> BigDecimal
fn sub(self, rhs: &BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<&BigDecimal> for &u8
impl Sub<&BigDecimal> for &u8
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: &BigDecimal) -> BigDecimal
fn sub(self, rhs: &BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<&BigDecimal> for i128
impl Sub<&BigDecimal> for i128
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: &BigDecimal) -> BigDecimal
fn sub(self, rhs: &BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<&BigDecimal> for i16
impl Sub<&BigDecimal> for i16
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: &BigDecimal) -> BigDecimal
fn sub(self, rhs: &BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<&BigDecimal> for i32
impl Sub<&BigDecimal> for i32
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: &BigDecimal) -> BigDecimal
fn sub(self, rhs: &BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<&BigDecimal> for i64
impl Sub<&BigDecimal> for i64
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: &BigDecimal) -> BigDecimal
fn sub(self, rhs: &BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<&BigDecimal> for i8
impl Sub<&BigDecimal> for i8
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: &BigDecimal) -> BigDecimal
fn sub(self, rhs: &BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<&BigDecimal> for u128
impl Sub<&BigDecimal> for u128
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: &BigDecimal) -> BigDecimal
fn sub(self, rhs: &BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<&BigDecimal> for u16
impl Sub<&BigDecimal> for u16
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: &BigDecimal) -> BigDecimal
fn sub(self, rhs: &BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<&BigDecimal> for u32
impl Sub<&BigDecimal> for u32
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: &BigDecimal) -> BigDecimal
fn sub(self, rhs: &BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<&BigDecimal> for u64
impl Sub<&BigDecimal> for u64
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: &BigDecimal) -> BigDecimal
fn sub(self, rhs: &BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<&BigDecimal> for u8
impl Sub<&BigDecimal> for u8
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: &BigDecimal) -> BigDecimal
fn sub(self, rhs: &BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<&i128> for &BigDecimal
impl Sub<&i128> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<&i128> for BigDecimal
impl Sub<&i128> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<&i16> for &BigDecimal
impl Sub<&i16> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<&i16> for BigDecimal
impl Sub<&i16> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<&i32> for &BigDecimal
impl Sub<&i32> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<&i32> for BigDecimal
impl Sub<&i32> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<&i64> for &BigDecimal
impl Sub<&i64> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<&i64> for BigDecimal
impl Sub<&i64> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<&i8> for &BigDecimal
impl Sub<&i8> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<&i8> for BigDecimal
impl Sub<&i8> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<&u128> for &BigDecimal
impl Sub<&u128> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<&u128> for BigDecimal
impl Sub<&u128> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<&u16> for &BigDecimal
impl Sub<&u16> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<&u16> for BigDecimal
impl Sub<&u16> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<&u32> for &BigDecimal
impl Sub<&u32> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<&u32> for BigDecimal
impl Sub<&u32> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<&u64> for &BigDecimal
impl Sub<&u64> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<&u64> for BigDecimal
impl Sub<&u64> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<&u8> for &BigDecimal
impl Sub<&u8> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<&u8> for BigDecimal
impl Sub<&u8> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<BigDecimal> for &BigDecimal
impl Sub<BigDecimal> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: BigDecimal) -> BigDecimal
fn sub(self, rhs: BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<BigDecimal> for &BigInt
impl Sub<BigDecimal> for &BigInt
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: BigDecimal) -> BigDecimal
fn sub(self, rhs: BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<BigDecimal> for &i128
impl Sub<BigDecimal> for &i128
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: BigDecimal) -> BigDecimal
fn sub(self, rhs: BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<BigDecimal> for &i16
impl Sub<BigDecimal> for &i16
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: BigDecimal) -> BigDecimal
fn sub(self, rhs: BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<BigDecimal> for &i32
impl Sub<BigDecimal> for &i32
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: BigDecimal) -> BigDecimal
fn sub(self, rhs: BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<BigDecimal> for &i64
impl Sub<BigDecimal> for &i64
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: BigDecimal) -> BigDecimal
fn sub(self, rhs: BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<BigDecimal> for &i8
impl Sub<BigDecimal> for &i8
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: BigDecimal) -> BigDecimal
fn sub(self, rhs: BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<BigDecimal> for &u128
impl Sub<BigDecimal> for &u128
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: BigDecimal) -> BigDecimal
fn sub(self, rhs: BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<BigDecimal> for &u16
impl Sub<BigDecimal> for &u16
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: BigDecimal) -> BigDecimal
fn sub(self, rhs: BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<BigDecimal> for &u32
impl Sub<BigDecimal> for &u32
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: BigDecimal) -> BigDecimal
fn sub(self, rhs: BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<BigDecimal> for &u64
impl Sub<BigDecimal> for &u64
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: BigDecimal) -> BigDecimal
fn sub(self, rhs: BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<BigDecimal> for &u8
impl Sub<BigDecimal> for &u8
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: BigDecimal) -> BigDecimal
fn sub(self, rhs: BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<BigDecimal> for BigDecimalRef<'_>
impl Sub<BigDecimal> for BigDecimalRef<'_>
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: BigDecimal) -> BigDecimal
fn sub(self, rhs: BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<BigDecimal> for BigInt
impl Sub<BigDecimal> for BigInt
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: BigDecimal) -> BigDecimal
fn sub(self, rhs: BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<BigDecimal> for i128
impl Sub<BigDecimal> for i128
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: BigDecimal) -> BigDecimal
fn sub(self, rhs: BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<BigDecimal> for i16
impl Sub<BigDecimal> for i16
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: BigDecimal) -> BigDecimal
fn sub(self, rhs: BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<BigDecimal> for i32
impl Sub<BigDecimal> for i32
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: BigDecimal) -> BigDecimal
fn sub(self, rhs: BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<BigDecimal> for i64
impl Sub<BigDecimal> for i64
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: BigDecimal) -> BigDecimal
fn sub(self, rhs: BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<BigDecimal> for i8
impl Sub<BigDecimal> for i8
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: BigDecimal) -> BigDecimal
fn sub(self, rhs: BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<BigDecimal> for u128
impl Sub<BigDecimal> for u128
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: BigDecimal) -> BigDecimal
fn sub(self, rhs: BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<BigDecimal> for u16
impl Sub<BigDecimal> for u16
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: BigDecimal) -> BigDecimal
fn sub(self, rhs: BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<BigDecimal> for u32
impl Sub<BigDecimal> for u32
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: BigDecimal) -> BigDecimal
fn sub(self, rhs: BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<BigDecimal> for u64
impl Sub<BigDecimal> for u64
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: BigDecimal) -> BigDecimal
fn sub(self, rhs: BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<BigDecimal> for u8
impl Sub<BigDecimal> for u8
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: BigDecimal) -> BigDecimal
fn sub(self, rhs: BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl Sub<BigInt> for &BigDecimal
impl Sub<BigInt> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<BigInt> for BigDecimal
impl Sub<BigInt> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl<'a, T: Into<BigDecimalRef<'a>>> Sub<T> for &BigDecimal
impl<'a, T: Into<BigDecimalRef<'a>>> Sub<T> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: T) -> BigDecimal
fn sub(self, rhs: T) -> BigDecimal
-
operation. Read moreSource§impl<'a, T: Into<BigDecimalRef<'a>>> Sub<T> for BigDecimal
impl<'a, T: Into<BigDecimalRef<'a>>> Sub<T> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: T) -> BigDecimal
fn sub(self, rhs: T) -> BigDecimal
-
operation. Read moreSource§impl Sub<i128> for &BigDecimal
impl Sub<i128> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<i128> for BigDecimal
impl Sub<i128> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<i16> for &BigDecimal
impl Sub<i16> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<i16> for BigDecimal
impl Sub<i16> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<i32> for &BigDecimal
impl Sub<i32> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<i32> for BigDecimal
impl Sub<i32> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<i64> for &BigDecimal
impl Sub<i64> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<i64> for BigDecimal
impl Sub<i64> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<i8> for &BigDecimal
impl Sub<i8> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<i8> for BigDecimal
impl Sub<i8> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<u128> for &BigDecimal
impl Sub<u128> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<u128> for BigDecimal
impl Sub<u128> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<u16> for &BigDecimal
impl Sub<u16> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<u16> for BigDecimal
impl Sub<u16> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<u32> for &BigDecimal
impl Sub<u32> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<u32> for BigDecimal
impl Sub<u32> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<u64> for &BigDecimal
impl Sub<u64> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<u64> for BigDecimal
impl Sub<u64> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<u8> for &BigDecimal
impl Sub<u8> for &BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub<u8> for BigDecimal
impl Sub<u8> for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§impl Sub for BigDecimal
impl Sub for BigDecimal
Source§type Output = BigDecimal
type Output = BigDecimal
-
operator.Source§fn sub(self, rhs: BigDecimal) -> BigDecimal
fn sub(self, rhs: BigDecimal) -> BigDecimal
-
operation. Read moreSource§impl SubAssign<&i128> for BigDecimal
impl SubAssign<&i128> for BigDecimal
Source§fn sub_assign(&mut self, rhs: &i128)
fn sub_assign(&mut self, rhs: &i128)
-=
operation. Read moreSource§impl SubAssign<&i16> for BigDecimal
impl SubAssign<&i16> for BigDecimal
Source§fn sub_assign(&mut self, rhs: &i16)
fn sub_assign(&mut self, rhs: &i16)
-=
operation. Read moreSource§impl SubAssign<&i32> for BigDecimal
impl SubAssign<&i32> for BigDecimal
Source§fn sub_assign(&mut self, rhs: &i32)
fn sub_assign(&mut self, rhs: &i32)
-=
operation. Read moreSource§impl SubAssign<&i64> for BigDecimal
impl SubAssign<&i64> for BigDecimal
Source§fn sub_assign(&mut self, rhs: &i64)
fn sub_assign(&mut self, rhs: &i64)
-=
operation. Read moreSource§impl SubAssign<&i8> for BigDecimal
impl SubAssign<&i8> for BigDecimal
Source§fn sub_assign(&mut self, rhs: &i8)
fn sub_assign(&mut self, rhs: &i8)
-=
operation. Read moreSource§impl SubAssign<&u128> for BigDecimal
impl SubAssign<&u128> for BigDecimal
Source§fn sub_assign(&mut self, rhs: &u128)
fn sub_assign(&mut self, rhs: &u128)
-=
operation. Read moreSource§impl SubAssign<&u16> for BigDecimal
impl SubAssign<&u16> for BigDecimal
Source§fn sub_assign(&mut self, rhs: &u16)
fn sub_assign(&mut self, rhs: &u16)
-=
operation. Read moreSource§impl SubAssign<&u32> for BigDecimal
impl SubAssign<&u32> for BigDecimal
Source§fn sub_assign(&mut self, rhs: &u32)
fn sub_assign(&mut self, rhs: &u32)
-=
operation. Read moreSource§impl SubAssign<&u64> for BigDecimal
impl SubAssign<&u64> for BigDecimal
Source§fn sub_assign(&mut self, rhs: &u64)
fn sub_assign(&mut self, rhs: &u64)
-=
operation. Read moreSource§impl SubAssign<&u8> for BigDecimal
impl SubAssign<&u8> for BigDecimal
Source§fn sub_assign(&mut self, rhs: &u8)
fn sub_assign(&mut self, rhs: &u8)
-=
operation. Read moreSource§impl SubAssign<BigInt> for BigDecimal
impl SubAssign<BigInt> for BigDecimal
Source§fn sub_assign(&mut self, rhs: BigInt)
fn sub_assign(&mut self, rhs: BigInt)
-=
operation. Read moreSource§impl<'rhs, T: Into<BigDecimalRef<'rhs>>> SubAssign<T> for BigDecimal
impl<'rhs, T: Into<BigDecimalRef<'rhs>>> SubAssign<T> for BigDecimal
Source§fn sub_assign(&mut self, rhs: T)
fn sub_assign(&mut self, rhs: T)
-=
operation. Read moreSource§impl SubAssign<i128> for BigDecimal
impl SubAssign<i128> for BigDecimal
Source§fn sub_assign(&mut self, rhs: i128)
fn sub_assign(&mut self, rhs: i128)
-=
operation. Read moreSource§impl SubAssign<i16> for BigDecimal
impl SubAssign<i16> for BigDecimal
Source§fn sub_assign(&mut self, rhs: i16)
fn sub_assign(&mut self, rhs: i16)
-=
operation. Read moreSource§impl SubAssign<i32> for BigDecimal
impl SubAssign<i32> for BigDecimal
Source§fn sub_assign(&mut self, rhs: i32)
fn sub_assign(&mut self, rhs: i32)
-=
operation. Read moreSource§impl SubAssign<i64> for BigDecimal
impl SubAssign<i64> for BigDecimal
Source§fn sub_assign(&mut self, rhs: i64)
fn sub_assign(&mut self, rhs: i64)
-=
operation. Read moreSource§impl SubAssign<i8> for BigDecimal
impl SubAssign<i8> for BigDecimal
Source§fn sub_assign(&mut self, rhs: i8)
fn sub_assign(&mut self, rhs: i8)
-=
operation. Read moreSource§impl SubAssign<u128> for BigDecimal
impl SubAssign<u128> for BigDecimal
Source§fn sub_assign(&mut self, rhs: u128)
fn sub_assign(&mut self, rhs: u128)
-=
operation. Read moreSource§impl SubAssign<u16> for BigDecimal
impl SubAssign<u16> for BigDecimal
Source§fn sub_assign(&mut self, rhs: u16)
fn sub_assign(&mut self, rhs: u16)
-=
operation. Read moreSource§impl SubAssign<u32> for BigDecimal
impl SubAssign<u32> for BigDecimal
Source§fn sub_assign(&mut self, rhs: u32)
fn sub_assign(&mut self, rhs: u32)
-=
operation. Read moreSource§impl SubAssign<u64> for BigDecimal
impl SubAssign<u64> for BigDecimal
Source§fn sub_assign(&mut self, rhs: u64)
fn sub_assign(&mut self, rhs: u64)
-=
operation. Read moreSource§impl SubAssign<u8> for BigDecimal
impl SubAssign<u8> for BigDecimal
Source§fn sub_assign(&mut self, rhs: u8)
fn sub_assign(&mut self, rhs: u8)
-=
operation. Read moreSource§impl SubAssign for BigDecimal
impl SubAssign for BigDecimal
Source§fn sub_assign(&mut self, rhs: BigDecimal)
fn sub_assign(&mut self, rhs: BigDecimal)
-=
operation. Read moreSource§impl<'a> Sum<&'a BigDecimal> for BigDecimal
impl<'a> Sum<&'a BigDecimal> for BigDecimal
Source§fn sum<I: Iterator<Item = &'a BigDecimal>>(iter: I) -> BigDecimal
fn sum<I: Iterator<Item = &'a BigDecimal>>(iter: I) -> BigDecimal
Self
from the elements by “summing up”
the items.Source§impl Sum for BigDecimal
impl Sum for BigDecimal
Source§fn sum<I: Iterator<Item = BigDecimal>>(iter: I) -> BigDecimal
fn sum<I: Iterator<Item = BigDecimal>>(iter: I) -> BigDecimal
Self
from the elements by “summing up”
the items.Source§impl ToBigInt for BigDecimal
impl ToBigInt for BigDecimal
Source§impl ToPrimitive for BigDecimal
impl ToPrimitive for BigDecimal
Source§fn to_i64(&self) -> Option<i64>
fn to_i64(&self) -> Option<i64>
self
to an i64
. If the value cannot be
represented by an i64
, then None
is returned.Source§fn to_i128(&self) -> Option<i128>
fn to_i128(&self) -> Option<i128>
self
to an i128
. If the value cannot be
represented by an i128
(i64
under the default implementation), then
None
is returned. Read moreSource§fn to_u64(&self) -> Option<u64>
fn to_u64(&self) -> Option<u64>
self
to a u64
. If the value cannot be
represented by a u64
, then None
is returned.Source§fn to_u128(&self) -> Option<u128>
fn to_u128(&self) -> Option<u128>
self
to a u128
. If the value cannot be
represented by a u128
(u64
under the default implementation), then
None
is returned. Read moreSource§fn to_f64(&self) -> Option<f64>
fn to_f64(&self) -> Option<f64>
self
to an f64
. Overflows may map to positive
or negative inifinity, otherwise None
is returned if the value cannot
be represented by an f64
. Read moreSource§fn to_isize(&self) -> Option<isize>
fn to_isize(&self) -> Option<isize>
self
to an isize
. If the value cannot be
represented by an isize
, then None
is returned.Source§fn to_i8(&self) -> Option<i8>
fn to_i8(&self) -> Option<i8>
self
to an i8
. If the value cannot be
represented by an i8
, then None
is returned.Source§fn to_i16(&self) -> Option<i16>
fn to_i16(&self) -> Option<i16>
self
to an i16
. If the value cannot be
represented by an i16
, then None
is returned.Source§fn to_i32(&self) -> Option<i32>
fn to_i32(&self) -> Option<i32>
self
to an i32
. If the value cannot be
represented by an i32
, then None
is returned.Source§fn to_usize(&self) -> Option<usize>
fn to_usize(&self) -> Option<usize>
self
to a usize
. If the value cannot be
represented by a usize
, then None
is returned.Source§fn to_u8(&self) -> Option<u8>
fn to_u8(&self) -> Option<u8>
self
to a u8
. If the value cannot be
represented by a u8
, then None
is returned.Source§fn to_u16(&self) -> Option<u16>
fn to_u16(&self) -> Option<u16>
self
to a u16
. If the value cannot be
represented by a u16
, then None
is returned.Source§impl TryFrom<f32> for BigDecimal
impl TryFrom<f32> for BigDecimal
Source§impl TryFrom<f64> for BigDecimal
impl TryFrom<f64> for BigDecimal
Source§impl UpperExp for BigDecimal
impl UpperExp for BigDecimal
Source§impl Zero for BigDecimal
impl Zero for BigDecimal
impl Eq for BigDecimal
Auto Trait Implementations§
impl Freeze for BigDecimal
impl RefUnwindSafe for BigDecimal
impl Send for BigDecimal
impl Sync for BigDecimal
impl Unpin for BigDecimal
impl UnwindSafe for BigDecimal
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)