pub struct PreciseDecimal(pub I256);
Expand description

PreciseDecimal represents a 256 bit representation of a fixed-scale decimal number.

The finite set of values are of the form m / 10^36, where m is an integer such that -2^(256 - 1) <= m < 2^(256 - 1).

Fractional part: ~120 bits / 36 digits Integer part : 136 bits / 41 digits Max : 57896044618658097711785492504343953926634.992332820282019728792003956564819967 Min : -57896044618658097711785492504343953926634.992332820282019728792003956564819968

Unless otherwise specified, all operations will panic if underflow/overflow.

Tuple Fields§

§0: I256

Implementations§

source§

impl PreciseDecimal

source

pub const MIN: PreciseDecimal = _

The min value of PreciseDecimal.

source

pub const MAX: PreciseDecimal = _

The max value of PreciseDecimal.

source

pub const BITS: usize = 256usize

The bit length of number storing PreciseDecimal.

source

pub const SCALE: u32 = 36u32

The fixed scale used by PreciseDecimal.

source

pub const ZERO: PreciseDecimal = _

source

pub const ONE_HUNDREDTH: PreciseDecimal = _

source

pub const ONE_TENTH: PreciseDecimal = _

source

pub const ONE: PreciseDecimal = _

source

pub const TEN: PreciseDecimal = _

source

pub const ONE_HUNDRED: PreciseDecimal = _

source

pub fn zero() -> PreciseDecimal

Returns PreciseDecimal of 0.

source

pub fn one() -> PreciseDecimal

Returns PreciseDecimal of 1.

source

pub fn is_zero(&self) -> bool

Whether this decimal is zero.

source

pub fn is_positive(&self) -> bool

Whether this decimal is positive.

source

pub fn is_negative(&self) -> bool

Whether this decimal is negative.

source

pub fn checked_abs(&self) -> Option<PreciseDecimal>

Returns the absolute value.

source

pub fn checked_floor(&self) -> Option<PreciseDecimal>

Returns the largest integer that is equal to or less than this number.

source

pub fn checked_ceiling(&self) -> Option<PreciseDecimal>

Returns the smallest integer that is equal to or greater than this number.

source

pub fn checked_round<T>( &self, decimal_places: T, mode: RoundingMode ) -> Option<PreciseDecimal>
where T: Into<i32>,

Rounds this number to the specified decimal places.

§Panics
  • Panic if the number of decimal places is not within [0..SCALE]
source

pub fn checked_powi(&self, exp: i64) -> Option<PreciseDecimal>

Calculates power using exponentiation by squaring.

source

pub fn checked_sqrt(&self) -> Option<PreciseDecimal>

Square root of a PreciseDecimal

source

pub fn checked_cbrt(&self) -> Option<PreciseDecimal>

Cubic root of a PreciseDecimal

source

pub fn checked_nth_root(&self, n: u32) -> Option<PreciseDecimal>

Nth root of a PreciseDecimal

source§

impl PreciseDecimal

source

pub fn to_vec(&self) -> Vec<u8>

Trait Implementations§

source§

impl Add<Decimal> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: Decimal) -> <PreciseDecimal as Add<Decimal>>::Output

Performs the + operation. Read more
source§

impl Add<I192> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: I192) -> <PreciseDecimal as Add<I192>>::Output

Performs the + operation. Read more
source§

impl Add<I256> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: I256) -> <PreciseDecimal as Add<I256>>::Output

Performs the + operation. Read more
source§

impl Add<I320> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: I320) -> <PreciseDecimal as Add<I320>>::Output

Performs the + operation. Read more
source§

impl Add<I448> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: I448) -> <PreciseDecimal as Add<I448>>::Output

Performs the + operation. Read more
source§

impl Add<I512> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: I512) -> <PreciseDecimal as Add<I512>>::Output

Performs the + operation. Read more
source§

impl Add<PreciseDecimal> for Decimal

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: PreciseDecimal) -> <Decimal as Add<PreciseDecimal>>::Output

Performs the + operation. Read more
source§

impl Add<PreciseDecimal> for I192

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: PreciseDecimal) -> <I192 as Add<PreciseDecimal>>::Output

Performs the + operation. Read more
source§

impl Add<PreciseDecimal> for I256

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: PreciseDecimal) -> <I256 as Add<PreciseDecimal>>::Output

Performs the + operation. Read more
source§

impl Add<PreciseDecimal> for I320

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: PreciseDecimal) -> <I320 as Add<PreciseDecimal>>::Output

Performs the + operation. Read more
source§

impl Add<PreciseDecimal> for I448

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: PreciseDecimal) -> <I448 as Add<PreciseDecimal>>::Output

Performs the + operation. Read more
source§

impl Add<PreciseDecimal> for I512

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: PreciseDecimal) -> <I512 as Add<PreciseDecimal>>::Output

Performs the + operation. Read more
source§

impl Add<PreciseDecimal> for U192

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: PreciseDecimal) -> <U192 as Add<PreciseDecimal>>::Output

Performs the + operation. Read more
source§

impl Add<PreciseDecimal> for U256

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: PreciseDecimal) -> <U256 as Add<PreciseDecimal>>::Output

Performs the + operation. Read more
source§

impl Add<PreciseDecimal> for U320

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: PreciseDecimal) -> <U320 as Add<PreciseDecimal>>::Output

Performs the + operation. Read more
source§

impl Add<PreciseDecimal> for U448

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: PreciseDecimal) -> <U448 as Add<PreciseDecimal>>::Output

Performs the + operation. Read more
source§

impl Add<PreciseDecimal> for U512

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: PreciseDecimal) -> <U512 as Add<PreciseDecimal>>::Output

Performs the + operation. Read more
source§

impl Add<PreciseDecimal> for i128

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: PreciseDecimal) -> <i128 as Add<PreciseDecimal>>::Output

Performs the + operation. Read more
source§

impl Add<PreciseDecimal> for i16

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: PreciseDecimal) -> <i16 as Add<PreciseDecimal>>::Output

Performs the + operation. Read more
source§

impl Add<PreciseDecimal> for i32

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: PreciseDecimal) -> <i32 as Add<PreciseDecimal>>::Output

Performs the + operation. Read more
source§

impl Add<PreciseDecimal> for i64

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: PreciseDecimal) -> <i64 as Add<PreciseDecimal>>::Output

Performs the + operation. Read more
source§

impl Add<PreciseDecimal> for i8

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: PreciseDecimal) -> <i8 as Add<PreciseDecimal>>::Output

Performs the + operation. Read more
source§

impl Add<PreciseDecimal> for isize

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: PreciseDecimal) -> <isize as Add<PreciseDecimal>>::Output

Performs the + operation. Read more
source§

impl Add<PreciseDecimal> for u128

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: PreciseDecimal) -> <u128 as Add<PreciseDecimal>>::Output

Performs the + operation. Read more
source§

impl Add<PreciseDecimal> for u16

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: PreciseDecimal) -> <u16 as Add<PreciseDecimal>>::Output

Performs the + operation. Read more
source§

impl Add<PreciseDecimal> for u32

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: PreciseDecimal) -> <u32 as Add<PreciseDecimal>>::Output

Performs the + operation. Read more
source§

impl Add<PreciseDecimal> for u64

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: PreciseDecimal) -> <u64 as Add<PreciseDecimal>>::Output

Performs the + operation. Read more
source§

impl Add<PreciseDecimal> for u8

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: PreciseDecimal) -> <u8 as Add<PreciseDecimal>>::Output

Performs the + operation. Read more
source§

impl Add<PreciseDecimal> for usize

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: PreciseDecimal) -> <usize as Add<PreciseDecimal>>::Output

Performs the + operation. Read more
source§

impl Add<U192> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: U192) -> <PreciseDecimal as Add<U192>>::Output

Performs the + operation. Read more
source§

impl Add<U256> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: U256) -> <PreciseDecimal as Add<U256>>::Output

Performs the + operation. Read more
source§

impl Add<U320> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: U320) -> <PreciseDecimal as Add<U320>>::Output

Performs the + operation. Read more
source§

impl Add<U448> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: U448) -> <PreciseDecimal as Add<U448>>::Output

Performs the + operation. Read more
source§

impl Add<U512> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: U512) -> <PreciseDecimal as Add<U512>>::Output

Performs the + operation. Read more
source§

impl Add<i128> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: i128) -> <PreciseDecimal as Add<i128>>::Output

Performs the + operation. Read more
source§

impl Add<i16> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: i16) -> <PreciseDecimal as Add<i16>>::Output

Performs the + operation. Read more
source§

impl Add<i32> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: i32) -> <PreciseDecimal as Add<i32>>::Output

Performs the + operation. Read more
source§

impl Add<i64> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: i64) -> <PreciseDecimal as Add<i64>>::Output

Performs the + operation. Read more
source§

impl Add<i8> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: i8) -> <PreciseDecimal as Add<i8>>::Output

Performs the + operation. Read more
source§

impl Add<isize> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: isize) -> <PreciseDecimal as Add<isize>>::Output

Performs the + operation. Read more
source§

impl Add<u128> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: u128) -> <PreciseDecimal as Add<u128>>::Output

Performs the + operation. Read more
source§

impl Add<u16> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: u16) -> <PreciseDecimal as Add<u16>>::Output

Performs the + operation. Read more
source§

impl Add<u32> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: u32) -> <PreciseDecimal as Add<u32>>::Output

Performs the + operation. Read more
source§

impl Add<u64> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: u64) -> <PreciseDecimal as Add<u64>>::Output

Performs the + operation. Read more
source§

impl Add<u8> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: u8) -> <PreciseDecimal as Add<u8>>::Output

Performs the + operation. Read more
source§

impl Add<usize> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: usize) -> <PreciseDecimal as Add<usize>>::Output

Performs the + operation. Read more
source§

impl Add for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the + operator.
source§

fn add(self, other: PreciseDecimal) -> <PreciseDecimal as Add>::Output

Performs the + operation. Read more
source§

impl AddAssign<Decimal> for PreciseDecimal

source§

fn add_assign(&mut self, other: Decimal)

Performs the += operation. Read more
source§

impl AddAssign<I192> for PreciseDecimal

source§

fn add_assign(&mut self, other: I192)

Performs the += operation. Read more
source§

impl AddAssign<I256> for PreciseDecimal

source§

fn add_assign(&mut self, other: I256)

Performs the += operation. Read more
source§

impl AddAssign<I320> for PreciseDecimal

source§

fn add_assign(&mut self, other: I320)

Performs the += operation. Read more
source§

impl AddAssign<I448> for PreciseDecimal

source§

fn add_assign(&mut self, other: I448)

Performs the += operation. Read more
source§

impl AddAssign<I512> for PreciseDecimal

source§

fn add_assign(&mut self, other: I512)

Performs the += operation. Read more
source§

impl AddAssign<U192> for PreciseDecimal

source§

fn add_assign(&mut self, other: U192)

Performs the += operation. Read more
source§

impl AddAssign<U256> for PreciseDecimal

source§

fn add_assign(&mut self, other: U256)

Performs the += operation. Read more
source§

impl AddAssign<U320> for PreciseDecimal

source§

fn add_assign(&mut self, other: U320)

Performs the += operation. Read more
source§

impl AddAssign<U448> for PreciseDecimal

source§

fn add_assign(&mut self, other: U448)

Performs the += operation. Read more
source§

impl AddAssign<U512> for PreciseDecimal

source§

fn add_assign(&mut self, other: U512)

Performs the += operation. Read more
source§

impl AddAssign<i128> for PreciseDecimal

source§

fn add_assign(&mut self, other: i128)

Performs the += operation. Read more
source§

impl AddAssign<i16> for PreciseDecimal

source§

fn add_assign(&mut self, other: i16)

Performs the += operation. Read more
source§

impl AddAssign<i32> for PreciseDecimal

source§

fn add_assign(&mut self, other: i32)

Performs the += operation. Read more
source§

impl AddAssign<i64> for PreciseDecimal

source§

fn add_assign(&mut self, other: i64)

Performs the += operation. Read more
source§

impl AddAssign<i8> for PreciseDecimal

source§

fn add_assign(&mut self, other: i8)

Performs the += operation. Read more
source§

impl AddAssign<isize> for PreciseDecimal

source§

fn add_assign(&mut self, other: isize)

Performs the += operation. Read more
source§

impl AddAssign<u128> for PreciseDecimal

source§

fn add_assign(&mut self, other: u128)

Performs the += operation. Read more
source§

impl AddAssign<u16> for PreciseDecimal

source§

fn add_assign(&mut self, other: u16)

Performs the += operation. Read more
source§

impl AddAssign<u32> for PreciseDecimal

source§

fn add_assign(&mut self, other: u32)

Performs the += operation. Read more
source§

impl AddAssign<u64> for PreciseDecimal

source§

fn add_assign(&mut self, other: u64)

Performs the += operation. Read more
source§

impl AddAssign<u8> for PreciseDecimal

source§

fn add_assign(&mut self, other: u8)

Performs the += operation. Read more
source§

impl AddAssign<usize> for PreciseDecimal

source§

fn add_assign(&mut self, other: usize)

Performs the += operation. Read more
source§

impl AddAssign for PreciseDecimal

source§

fn add_assign(&mut self, other: PreciseDecimal)

Performs the += operation. Read more
source§

impl Categorize<ManifestCustomValueKind> for PreciseDecimal

source§

impl Categorize<ScryptoCustomValueKind> for PreciseDecimal

source§

impl CheckedAdd<Decimal> for PreciseDecimal

source§

impl CheckedAdd<I192> for PreciseDecimal

source§

impl CheckedAdd<I256> for PreciseDecimal

source§

impl CheckedAdd<I320> for PreciseDecimal

source§

impl CheckedAdd<I448> for PreciseDecimal

source§

impl CheckedAdd<I512> for PreciseDecimal

source§

impl CheckedAdd<PreciseDecimal> for Decimal

source§

impl CheckedAdd<PreciseDecimal> for I192

source§

impl CheckedAdd<PreciseDecimal> for I256

source§

impl CheckedAdd<PreciseDecimal> for I320

source§

impl CheckedAdd<PreciseDecimal> for I448

source§

impl CheckedAdd<PreciseDecimal> for I512

source§

impl CheckedAdd<PreciseDecimal> for U192

source§

impl CheckedAdd<PreciseDecimal> for U256

source§

impl CheckedAdd<PreciseDecimal> for U320

source§

impl CheckedAdd<PreciseDecimal> for U448

source§

impl CheckedAdd<PreciseDecimal> for U512

source§

impl CheckedAdd<U192> for PreciseDecimal

source§

impl CheckedAdd<U256> for PreciseDecimal

source§

impl CheckedAdd<U320> for PreciseDecimal

source§

impl CheckedAdd<U448> for PreciseDecimal

source§

impl CheckedAdd<U512> for PreciseDecimal

source§

impl CheckedAdd<i128> for PreciseDecimal

source§

impl CheckedAdd<i16> for PreciseDecimal

source§

impl CheckedAdd<i32> for PreciseDecimal

source§

impl CheckedAdd<i64> for PreciseDecimal

source§

impl CheckedAdd<i8> for PreciseDecimal

source§

impl CheckedAdd<isize> for PreciseDecimal

source§

impl CheckedAdd<u128> for PreciseDecimal

source§

impl CheckedAdd<u16> for PreciseDecimal

source§

impl CheckedAdd<u32> for PreciseDecimal

source§

impl CheckedAdd<u64> for PreciseDecimal

source§

impl CheckedAdd<u8> for PreciseDecimal

source§

impl CheckedAdd<usize> for PreciseDecimal

source§

impl CheckedAdd for PreciseDecimal

source§

impl CheckedDiv<Decimal> for PreciseDecimal

source§

impl CheckedDiv<I192> for PreciseDecimal

source§

impl CheckedDiv<I256> for PreciseDecimal

source§

impl CheckedDiv<I320> for PreciseDecimal

source§

impl CheckedDiv<I448> for PreciseDecimal

source§

impl CheckedDiv<I512> for PreciseDecimal

source§

impl CheckedDiv<PreciseDecimal> for Decimal

source§

impl CheckedDiv<PreciseDecimal> for I192

source§

impl CheckedDiv<PreciseDecimal> for I256

source§

impl CheckedDiv<PreciseDecimal> for I320

source§

impl CheckedDiv<PreciseDecimal> for I448

source§

impl CheckedDiv<PreciseDecimal> for I512

source§

impl CheckedDiv<PreciseDecimal> for U192

source§

impl CheckedDiv<PreciseDecimal> for U256

source§

impl CheckedDiv<PreciseDecimal> for U320

source§

impl CheckedDiv<PreciseDecimal> for U448

source§

impl CheckedDiv<PreciseDecimal> for U512

source§

impl CheckedDiv<U192> for PreciseDecimal

source§

impl CheckedDiv<U256> for PreciseDecimal

source§

impl CheckedDiv<U320> for PreciseDecimal

source§

impl CheckedDiv<U448> for PreciseDecimal

source§

impl CheckedDiv<U512> for PreciseDecimal

source§

impl CheckedDiv<i128> for PreciseDecimal

source§

impl CheckedDiv<i16> for PreciseDecimal

source§

impl CheckedDiv<i32> for PreciseDecimal

source§

impl CheckedDiv<i64> for PreciseDecimal

source§

impl CheckedDiv<i8> for PreciseDecimal

source§

impl CheckedDiv<isize> for PreciseDecimal

source§

impl CheckedDiv<u128> for PreciseDecimal

source§

impl CheckedDiv<u16> for PreciseDecimal

source§

impl CheckedDiv<u32> for PreciseDecimal

source§

impl CheckedDiv<u64> for PreciseDecimal

source§

impl CheckedDiv<u8> for PreciseDecimal

source§

impl CheckedDiv<usize> for PreciseDecimal

source§

impl CheckedDiv for PreciseDecimal

source§

impl CheckedMul<Decimal> for PreciseDecimal

source§

impl CheckedMul<I192> for PreciseDecimal

source§

impl CheckedMul<I256> for PreciseDecimal

source§

impl CheckedMul<I320> for PreciseDecimal

source§

impl CheckedMul<I448> for PreciseDecimal

source§

impl CheckedMul<I512> for PreciseDecimal

source§

impl CheckedMul<PreciseDecimal> for Decimal

source§

impl CheckedMul<PreciseDecimal> for I192

source§

impl CheckedMul<PreciseDecimal> for I256

source§

impl CheckedMul<PreciseDecimal> for I320

source§

impl CheckedMul<PreciseDecimal> for I448

source§

impl CheckedMul<PreciseDecimal> for I512

source§

impl CheckedMul<PreciseDecimal> for U192

source§

impl CheckedMul<PreciseDecimal> for U256

source§

impl CheckedMul<PreciseDecimal> for U320

source§

impl CheckedMul<PreciseDecimal> for U448

source§

impl CheckedMul<PreciseDecimal> for U512

source§

impl CheckedMul<U192> for PreciseDecimal

source§

impl CheckedMul<U256> for PreciseDecimal

source§

impl CheckedMul<U320> for PreciseDecimal

source§

impl CheckedMul<U448> for PreciseDecimal

source§

impl CheckedMul<U512> for PreciseDecimal

source§

impl CheckedMul<i128> for PreciseDecimal

source§

impl CheckedMul<i16> for PreciseDecimal

source§

impl CheckedMul<i32> for PreciseDecimal

source§

impl CheckedMul<i64> for PreciseDecimal

source§

impl CheckedMul<i8> for PreciseDecimal

source§

impl CheckedMul<isize> for PreciseDecimal

source§

impl CheckedMul<u128> for PreciseDecimal

source§

impl CheckedMul<u16> for PreciseDecimal

source§

impl CheckedMul<u32> for PreciseDecimal

source§

impl CheckedMul<u64> for PreciseDecimal

source§

impl CheckedMul<u8> for PreciseDecimal

source§

impl CheckedMul<usize> for PreciseDecimal

source§

impl CheckedMul for PreciseDecimal

source§

impl CheckedNeg for PreciseDecimal

source§

impl CheckedSub<Decimal> for PreciseDecimal

source§

impl CheckedSub<I192> for PreciseDecimal

source§

impl CheckedSub<I256> for PreciseDecimal

source§

impl CheckedSub<I320> for PreciseDecimal

source§

impl CheckedSub<I448> for PreciseDecimal

source§

impl CheckedSub<I512> for PreciseDecimal

source§

impl CheckedSub<PreciseDecimal> for Decimal

source§

impl CheckedSub<PreciseDecimal> for I192

source§

impl CheckedSub<PreciseDecimal> for I256

source§

impl CheckedSub<PreciseDecimal> for I320

source§

impl CheckedSub<PreciseDecimal> for I448

source§

impl CheckedSub<PreciseDecimal> for I512

source§

impl CheckedSub<PreciseDecimal> for U192

source§

impl CheckedSub<PreciseDecimal> for U256

source§

impl CheckedSub<PreciseDecimal> for U320

source§

impl CheckedSub<PreciseDecimal> for U448

source§

impl CheckedSub<PreciseDecimal> for U512

source§

impl CheckedSub<U192> for PreciseDecimal

source§

impl CheckedSub<U256> for PreciseDecimal

source§

impl CheckedSub<U320> for PreciseDecimal

source§

impl CheckedSub<U448> for PreciseDecimal

source§

impl CheckedSub<U512> for PreciseDecimal

source§

impl CheckedSub<i128> for PreciseDecimal

source§

impl CheckedSub<i16> for PreciseDecimal

source§

impl CheckedSub<i32> for PreciseDecimal

source§

impl CheckedSub<i64> for PreciseDecimal

source§

impl CheckedSub<i8> for PreciseDecimal

source§

impl CheckedSub<isize> for PreciseDecimal

source§

impl CheckedSub<u128> for PreciseDecimal

source§

impl CheckedSub<u16> for PreciseDecimal

source§

impl CheckedSub<u32> for PreciseDecimal

source§

impl CheckedSub<u64> for PreciseDecimal

source§

impl CheckedSub<u8> for PreciseDecimal

source§

impl CheckedSub<usize> for PreciseDecimal

source§

impl CheckedSub for PreciseDecimal

source§

impl CheckedTruncate<Decimal> for PreciseDecimal

source§

impl Clone for PreciseDecimal

source§

fn clone(&self) -> PreciseDecimal

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PreciseDecimal

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<D> Decode<ManifestCustomValueKind, D> for PreciseDecimal

source§

fn decode_body_with_value_kind( decoder: &mut D, value_kind: ValueKind<ManifestCustomValueKind> ) -> Result<PreciseDecimal, DecodeError>

Decodes the type from the decoder, which should match a preloaded value kind. Read more
source§

impl<D> Decode<ScryptoCustomValueKind, D> for PreciseDecimal

source§

fn decode_body_with_value_kind( decoder: &mut D, value_kind: ValueKind<ScryptoCustomValueKind> ) -> Result<PreciseDecimal, DecodeError>

Decodes the type from the decoder, which should match a preloaded value kind. Read more
source§

impl Default for PreciseDecimal

source§

fn default() -> PreciseDecimal

Returns the “default value” for a type. Read more
source§

impl Describe<ScryptoCustomTypeKind> for PreciseDecimal

source§

const TYPE_ID: RustTypeId = _

The TYPE_ID should give a unique identifier for its SBOR schema type. An SBOR schema type capture details about the SBOR payload, how it should be interpreted, validated and displayed. Read more
source§

fn type_data() -> TypeData<ScryptoCustomTypeKind, RustTypeId>

Returns the local schema for the given type. Read more
source§

fn add_all_dependencies(aggregator: &mut TypeAggregator<C>)

For each type referenced in get_local_type_data, we need to ensure that the type and all of its own references get added to the aggregator. Read more
source§

impl Display for PreciseDecimal

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Div<Decimal> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: Decimal) -> <PreciseDecimal as Div<Decimal>>::Output

Performs the / operation. Read more
source§

impl Div<I192> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: I192) -> <PreciseDecimal as Div<I192>>::Output

Performs the / operation. Read more
source§

impl Div<I256> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: I256) -> <PreciseDecimal as Div<I256>>::Output

Performs the / operation. Read more
source§

impl Div<I320> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: I320) -> <PreciseDecimal as Div<I320>>::Output

Performs the / operation. Read more
source§

impl Div<I448> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: I448) -> <PreciseDecimal as Div<I448>>::Output

Performs the / operation. Read more
source§

impl Div<I512> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: I512) -> <PreciseDecimal as Div<I512>>::Output

Performs the / operation. Read more
source§

impl Div<PreciseDecimal> for Decimal

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: PreciseDecimal) -> <Decimal as Div<PreciseDecimal>>::Output

Performs the / operation. Read more
source§

impl Div<PreciseDecimal> for I192

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: PreciseDecimal) -> <I192 as Div<PreciseDecimal>>::Output

Performs the / operation. Read more
source§

impl Div<PreciseDecimal> for I256

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: PreciseDecimal) -> <I256 as Div<PreciseDecimal>>::Output

Performs the / operation. Read more
source§

impl Div<PreciseDecimal> for I320

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: PreciseDecimal) -> <I320 as Div<PreciseDecimal>>::Output

Performs the / operation. Read more
source§

impl Div<PreciseDecimal> for I448

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: PreciseDecimal) -> <I448 as Div<PreciseDecimal>>::Output

Performs the / operation. Read more
source§

impl Div<PreciseDecimal> for I512

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: PreciseDecimal) -> <I512 as Div<PreciseDecimal>>::Output

Performs the / operation. Read more
source§

impl Div<PreciseDecimal> for U192

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: PreciseDecimal) -> <U192 as Div<PreciseDecimal>>::Output

Performs the / operation. Read more
source§

impl Div<PreciseDecimal> for U256

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: PreciseDecimal) -> <U256 as Div<PreciseDecimal>>::Output

Performs the / operation. Read more
source§

impl Div<PreciseDecimal> for U320

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: PreciseDecimal) -> <U320 as Div<PreciseDecimal>>::Output

Performs the / operation. Read more
source§

impl Div<PreciseDecimal> for U448

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: PreciseDecimal) -> <U448 as Div<PreciseDecimal>>::Output

Performs the / operation. Read more
source§

impl Div<PreciseDecimal> for U512

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: PreciseDecimal) -> <U512 as Div<PreciseDecimal>>::Output

Performs the / operation. Read more
source§

impl Div<PreciseDecimal> for i128

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: PreciseDecimal) -> <i128 as Div<PreciseDecimal>>::Output

Performs the / operation. Read more
source§

impl Div<PreciseDecimal> for i16

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: PreciseDecimal) -> <i16 as Div<PreciseDecimal>>::Output

Performs the / operation. Read more
source§

impl Div<PreciseDecimal> for i32

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: PreciseDecimal) -> <i32 as Div<PreciseDecimal>>::Output

Performs the / operation. Read more
source§

impl Div<PreciseDecimal> for i64

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: PreciseDecimal) -> <i64 as Div<PreciseDecimal>>::Output

Performs the / operation. Read more
source§

impl Div<PreciseDecimal> for i8

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: PreciseDecimal) -> <i8 as Div<PreciseDecimal>>::Output

Performs the / operation. Read more
source§

impl Div<PreciseDecimal> for isize

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: PreciseDecimal) -> <isize as Div<PreciseDecimal>>::Output

Performs the / operation. Read more
source§

impl Div<PreciseDecimal> for u128

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: PreciseDecimal) -> <u128 as Div<PreciseDecimal>>::Output

Performs the / operation. Read more
source§

impl Div<PreciseDecimal> for u16

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: PreciseDecimal) -> <u16 as Div<PreciseDecimal>>::Output

Performs the / operation. Read more
source§

impl Div<PreciseDecimal> for u32

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: PreciseDecimal) -> <u32 as Div<PreciseDecimal>>::Output

Performs the / operation. Read more
source§

impl Div<PreciseDecimal> for u64

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: PreciseDecimal) -> <u64 as Div<PreciseDecimal>>::Output

Performs the / operation. Read more
source§

impl Div<PreciseDecimal> for u8

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: PreciseDecimal) -> <u8 as Div<PreciseDecimal>>::Output

Performs the / operation. Read more
source§

impl Div<PreciseDecimal> for usize

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: PreciseDecimal) -> <usize as Div<PreciseDecimal>>::Output

Performs the / operation. Read more
source§

impl Div<U192> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: U192) -> <PreciseDecimal as Div<U192>>::Output

Performs the / operation. Read more
source§

impl Div<U256> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: U256) -> <PreciseDecimal as Div<U256>>::Output

Performs the / operation. Read more
source§

impl Div<U320> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: U320) -> <PreciseDecimal as Div<U320>>::Output

Performs the / operation. Read more
source§

impl Div<U448> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: U448) -> <PreciseDecimal as Div<U448>>::Output

Performs the / operation. Read more
source§

impl Div<U512> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: U512) -> <PreciseDecimal as Div<U512>>::Output

Performs the / operation. Read more
source§

impl Div<i128> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: i128) -> <PreciseDecimal as Div<i128>>::Output

Performs the / operation. Read more
source§

impl Div<i16> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: i16) -> <PreciseDecimal as Div<i16>>::Output

Performs the / operation. Read more
source§

impl Div<i32> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: i32) -> <PreciseDecimal as Div<i32>>::Output

Performs the / operation. Read more
source§

impl Div<i64> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: i64) -> <PreciseDecimal as Div<i64>>::Output

Performs the / operation. Read more
source§

impl Div<i8> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: i8) -> <PreciseDecimal as Div<i8>>::Output

Performs the / operation. Read more
source§

impl Div<isize> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: isize) -> <PreciseDecimal as Div<isize>>::Output

Performs the / operation. Read more
source§

impl Div<u128> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: u128) -> <PreciseDecimal as Div<u128>>::Output

Performs the / operation. Read more
source§

impl Div<u16> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: u16) -> <PreciseDecimal as Div<u16>>::Output

Performs the / operation. Read more
source§

impl Div<u32> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: u32) -> <PreciseDecimal as Div<u32>>::Output

Performs the / operation. Read more
source§

impl Div<u64> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: u64) -> <PreciseDecimal as Div<u64>>::Output

Performs the / operation. Read more
source§

impl Div<u8> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: u8) -> <PreciseDecimal as Div<u8>>::Output

Performs the / operation. Read more
source§

impl Div<usize> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: usize) -> <PreciseDecimal as Div<usize>>::Output

Performs the / operation. Read more
source§

impl Div for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the / operator.
source§

fn div(self, other: PreciseDecimal) -> <PreciseDecimal as Div>::Output

Performs the / operation. Read more
source§

impl DivAssign<Decimal> for PreciseDecimal

source§

fn div_assign(&mut self, other: Decimal)

Performs the /= operation. Read more
source§

impl DivAssign<I192> for PreciseDecimal

source§

fn div_assign(&mut self, other: I192)

Performs the /= operation. Read more
source§

impl DivAssign<I256> for PreciseDecimal

source§

fn div_assign(&mut self, other: I256)

Performs the /= operation. Read more
source§

impl DivAssign<I320> for PreciseDecimal

source§

fn div_assign(&mut self, other: I320)

Performs the /= operation. Read more
source§

impl DivAssign<I448> for PreciseDecimal

source§

fn div_assign(&mut self, other: I448)

Performs the /= operation. Read more
source§

impl DivAssign<I512> for PreciseDecimal

source§

fn div_assign(&mut self, other: I512)

Performs the /= operation. Read more
source§

impl DivAssign<U192> for PreciseDecimal

source§

fn div_assign(&mut self, other: U192)

Performs the /= operation. Read more
source§

impl DivAssign<U256> for PreciseDecimal

source§

fn div_assign(&mut self, other: U256)

Performs the /= operation. Read more
source§

impl DivAssign<U320> for PreciseDecimal

source§

fn div_assign(&mut self, other: U320)

Performs the /= operation. Read more
source§

impl DivAssign<U448> for PreciseDecimal

source§

fn div_assign(&mut self, other: U448)

Performs the /= operation. Read more
source§

impl DivAssign<U512> for PreciseDecimal

source§

fn div_assign(&mut self, other: U512)

Performs the /= operation. Read more
source§

impl DivAssign<i128> for PreciseDecimal

source§

fn div_assign(&mut self, other: i128)

Performs the /= operation. Read more
source§

impl DivAssign<i16> for PreciseDecimal

source§

fn div_assign(&mut self, other: i16)

Performs the /= operation. Read more
source§

impl DivAssign<i32> for PreciseDecimal

source§

fn div_assign(&mut self, other: i32)

Performs the /= operation. Read more
source§

impl DivAssign<i64> for PreciseDecimal

source§

fn div_assign(&mut self, other: i64)

Performs the /= operation. Read more
source§

impl DivAssign<i8> for PreciseDecimal

source§

fn div_assign(&mut self, other: i8)

Performs the /= operation. Read more
source§

impl DivAssign<isize> for PreciseDecimal

source§

fn div_assign(&mut self, other: isize)

Performs the /= operation. Read more
source§

impl DivAssign<u128> for PreciseDecimal

source§

fn div_assign(&mut self, other: u128)

Performs the /= operation. Read more
source§

impl DivAssign<u16> for PreciseDecimal

source§

fn div_assign(&mut self, other: u16)

Performs the /= operation. Read more
source§

impl DivAssign<u32> for PreciseDecimal

source§

fn div_assign(&mut self, other: u32)

Performs the /= operation. Read more
source§

impl DivAssign<u64> for PreciseDecimal

source§

fn div_assign(&mut self, other: u64)

Performs the /= operation. Read more
source§

impl DivAssign<u8> for PreciseDecimal

source§

fn div_assign(&mut self, other: u8)

Performs the /= operation. Read more
source§

impl DivAssign<usize> for PreciseDecimal

source§

fn div_assign(&mut self, other: usize)

Performs the /= operation. Read more
source§

impl DivAssign for PreciseDecimal

source§

fn div_assign(&mut self, other: PreciseDecimal)

Performs the /= operation. Read more
source§

impl<E> Encode<ManifestCustomValueKind, E> for PreciseDecimal

source§

fn encode_value_kind(&self, encoder: &mut E) -> Result<(), EncodeError>

Encodes the SBOR value’s kind to the encoder
source§

fn encode_body(&self, encoder: &mut E) -> Result<(), EncodeError>

Encodes the SBOR body of the type to the encoder. Read more
source§

impl<E> Encode<ScryptoCustomValueKind, E> for PreciseDecimal

source§

fn encode_value_kind(&self, encoder: &mut E) -> Result<(), EncodeError>

Encodes the SBOR value’s kind to the encoder
source§

fn encode_body(&self, encoder: &mut E) -> Result<(), EncodeError>

Encodes the SBOR body of the type to the encoder. Read more
source§

impl From<Decimal> for PreciseDecimal

source§

fn from(val: Decimal) -> PreciseDecimal

Converts to this type from the input type.
source§

impl From<bool> for PreciseDecimal

source§

fn from(val: bool) -> PreciseDecimal

Converts to this type from the input type.
source§

impl From<i128> for PreciseDecimal

source§

fn from(val: i128) -> PreciseDecimal

Converts to this type from the input type.
source§

impl From<i16> for PreciseDecimal

source§

fn from(val: i16) -> PreciseDecimal

Converts to this type from the input type.
source§

impl From<i32> for PreciseDecimal

source§

fn from(val: i32) -> PreciseDecimal

Converts to this type from the input type.
source§

impl From<i64> for PreciseDecimal

source§

fn from(val: i64) -> PreciseDecimal

Converts to this type from the input type.
source§

impl From<i8> for PreciseDecimal

source§

fn from(val: i8) -> PreciseDecimal

Converts to this type from the input type.
source§

impl From<isize> for PreciseDecimal

source§

fn from(val: isize) -> PreciseDecimal

Converts to this type from the input type.
source§

impl From<u128> for PreciseDecimal

source§

fn from(val: u128) -> PreciseDecimal

Converts to this type from the input type.
source§

impl From<u16> for PreciseDecimal

source§

fn from(val: u16) -> PreciseDecimal

Converts to this type from the input type.
source§

impl From<u32> for PreciseDecimal

source§

fn from(val: u32) -> PreciseDecimal

Converts to this type from the input type.
source§

impl From<u64> for PreciseDecimal

source§

fn from(val: u64) -> PreciseDecimal

Converts to this type from the input type.
source§

impl From<u8> for PreciseDecimal

source§

fn from(val: u8) -> PreciseDecimal

Converts to this type from the input type.
source§

impl From<usize> for PreciseDecimal

source§

fn from(val: usize) -> PreciseDecimal

Converts to this type from the input type.
source§

impl FromStr for PreciseDecimal

§

type Err = ParsePreciseDecimalError

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<PreciseDecimal, <PreciseDecimal as FromStr>::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for PreciseDecimal

source§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Mul<Decimal> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: Decimal) -> <PreciseDecimal as Mul<Decimal>>::Output

Performs the * operation. Read more
source§

impl Mul<I192> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: I192) -> <PreciseDecimal as Mul<I192>>::Output

Performs the * operation. Read more
source§

impl Mul<I256> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: I256) -> <PreciseDecimal as Mul<I256>>::Output

Performs the * operation. Read more
source§

impl Mul<I320> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: I320) -> <PreciseDecimal as Mul<I320>>::Output

Performs the * operation. Read more
source§

impl Mul<I448> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: I448) -> <PreciseDecimal as Mul<I448>>::Output

Performs the * operation. Read more
source§

impl Mul<I512> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: I512) -> <PreciseDecimal as Mul<I512>>::Output

Performs the * operation. Read more
source§

impl Mul<PreciseDecimal> for Decimal

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: PreciseDecimal) -> <Decimal as Mul<PreciseDecimal>>::Output

Performs the * operation. Read more
source§

impl Mul<PreciseDecimal> for I192

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: PreciseDecimal) -> <I192 as Mul<PreciseDecimal>>::Output

Performs the * operation. Read more
source§

impl Mul<PreciseDecimal> for I256

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: PreciseDecimal) -> <I256 as Mul<PreciseDecimal>>::Output

Performs the * operation. Read more
source§

impl Mul<PreciseDecimal> for I320

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: PreciseDecimal) -> <I320 as Mul<PreciseDecimal>>::Output

Performs the * operation. Read more
source§

impl Mul<PreciseDecimal> for I448

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: PreciseDecimal) -> <I448 as Mul<PreciseDecimal>>::Output

Performs the * operation. Read more
source§

impl Mul<PreciseDecimal> for I512

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: PreciseDecimal) -> <I512 as Mul<PreciseDecimal>>::Output

Performs the * operation. Read more
source§

impl Mul<PreciseDecimal> for U192

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: PreciseDecimal) -> <U192 as Mul<PreciseDecimal>>::Output

Performs the * operation. Read more
source§

impl Mul<PreciseDecimal> for U256

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: PreciseDecimal) -> <U256 as Mul<PreciseDecimal>>::Output

Performs the * operation. Read more
source§

impl Mul<PreciseDecimal> for U320

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: PreciseDecimal) -> <U320 as Mul<PreciseDecimal>>::Output

Performs the * operation. Read more
source§

impl Mul<PreciseDecimal> for U448

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: PreciseDecimal) -> <U448 as Mul<PreciseDecimal>>::Output

Performs the * operation. Read more
source§

impl Mul<PreciseDecimal> for U512

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: PreciseDecimal) -> <U512 as Mul<PreciseDecimal>>::Output

Performs the * operation. Read more
source§

impl Mul<PreciseDecimal> for i128

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: PreciseDecimal) -> <i128 as Mul<PreciseDecimal>>::Output

Performs the * operation. Read more
source§

impl Mul<PreciseDecimal> for i16

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: PreciseDecimal) -> <i16 as Mul<PreciseDecimal>>::Output

Performs the * operation. Read more
source§

impl Mul<PreciseDecimal> for i32

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: PreciseDecimal) -> <i32 as Mul<PreciseDecimal>>::Output

Performs the * operation. Read more
source§

impl Mul<PreciseDecimal> for i64

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: PreciseDecimal) -> <i64 as Mul<PreciseDecimal>>::Output

Performs the * operation. Read more
source§

impl Mul<PreciseDecimal> for i8

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: PreciseDecimal) -> <i8 as Mul<PreciseDecimal>>::Output

Performs the * operation. Read more
source§

impl Mul<PreciseDecimal> for isize

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: PreciseDecimal) -> <isize as Mul<PreciseDecimal>>::Output

Performs the * operation. Read more
source§

impl Mul<PreciseDecimal> for u128

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: PreciseDecimal) -> <u128 as Mul<PreciseDecimal>>::Output

Performs the * operation. Read more
source§

impl Mul<PreciseDecimal> for u16

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: PreciseDecimal) -> <u16 as Mul<PreciseDecimal>>::Output

Performs the * operation. Read more
source§

impl Mul<PreciseDecimal> for u32

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: PreciseDecimal) -> <u32 as Mul<PreciseDecimal>>::Output

Performs the * operation. Read more
source§

impl Mul<PreciseDecimal> for u64

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: PreciseDecimal) -> <u64 as Mul<PreciseDecimal>>::Output

Performs the * operation. Read more
source§

impl Mul<PreciseDecimal> for u8

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: PreciseDecimal) -> <u8 as Mul<PreciseDecimal>>::Output

Performs the * operation. Read more
source§

impl Mul<PreciseDecimal> for usize

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: PreciseDecimal) -> <usize as Mul<PreciseDecimal>>::Output

Performs the * operation. Read more
source§

impl Mul<U192> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: U192) -> <PreciseDecimal as Mul<U192>>::Output

Performs the * operation. Read more
source§

impl Mul<U256> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: U256) -> <PreciseDecimal as Mul<U256>>::Output

Performs the * operation. Read more
source§

impl Mul<U320> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: U320) -> <PreciseDecimal as Mul<U320>>::Output

Performs the * operation. Read more
source§

impl Mul<U448> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: U448) -> <PreciseDecimal as Mul<U448>>::Output

Performs the * operation. Read more
source§

impl Mul<U512> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: U512) -> <PreciseDecimal as Mul<U512>>::Output

Performs the * operation. Read more
source§

impl Mul<i128> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: i128) -> <PreciseDecimal as Mul<i128>>::Output

Performs the * operation. Read more
source§

impl Mul<i16> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: i16) -> <PreciseDecimal as Mul<i16>>::Output

Performs the * operation. Read more
source§

impl Mul<i32> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: i32) -> <PreciseDecimal as Mul<i32>>::Output

Performs the * operation. Read more
source§

impl Mul<i64> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: i64) -> <PreciseDecimal as Mul<i64>>::Output

Performs the * operation. Read more
source§

impl Mul<i8> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: i8) -> <PreciseDecimal as Mul<i8>>::Output

Performs the * operation. Read more
source§

impl Mul<isize> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: isize) -> <PreciseDecimal as Mul<isize>>::Output

Performs the * operation. Read more
source§

impl Mul<u128> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: u128) -> <PreciseDecimal as Mul<u128>>::Output

Performs the * operation. Read more
source§

impl Mul<u16> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: u16) -> <PreciseDecimal as Mul<u16>>::Output

Performs the * operation. Read more
source§

impl Mul<u32> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: u32) -> <PreciseDecimal as Mul<u32>>::Output

Performs the * operation. Read more
source§

impl Mul<u64> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: u64) -> <PreciseDecimal as Mul<u64>>::Output

Performs the * operation. Read more
source§

impl Mul<u8> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: u8) -> <PreciseDecimal as Mul<u8>>::Output

Performs the * operation. Read more
source§

impl Mul<usize> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: usize) -> <PreciseDecimal as Mul<usize>>::Output

Performs the * operation. Read more
source§

impl Mul for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the * operator.
source§

fn mul(self, other: PreciseDecimal) -> <PreciseDecimal as Mul>::Output

Performs the * operation. Read more
source§

impl MulAssign<Decimal> for PreciseDecimal

source§

fn mul_assign(&mut self, other: Decimal)

Performs the *= operation. Read more
source§

impl MulAssign<I192> for PreciseDecimal

source§

fn mul_assign(&mut self, other: I192)

Performs the *= operation. Read more
source§

impl MulAssign<I256> for PreciseDecimal

source§

fn mul_assign(&mut self, other: I256)

Performs the *= operation. Read more
source§

impl MulAssign<I320> for PreciseDecimal

source§

fn mul_assign(&mut self, other: I320)

Performs the *= operation. Read more
source§

impl MulAssign<I448> for PreciseDecimal

source§

fn mul_assign(&mut self, other: I448)

Performs the *= operation. Read more
source§

impl MulAssign<I512> for PreciseDecimal

source§

fn mul_assign(&mut self, other: I512)

Performs the *= operation. Read more
source§

impl MulAssign<U192> for PreciseDecimal

source§

fn mul_assign(&mut self, other: U192)

Performs the *= operation. Read more
source§

impl MulAssign<U256> for PreciseDecimal

source§

fn mul_assign(&mut self, other: U256)

Performs the *= operation. Read more
source§

impl MulAssign<U320> for PreciseDecimal

source§

fn mul_assign(&mut self, other: U320)

Performs the *= operation. Read more
source§

impl MulAssign<U448> for PreciseDecimal

source§

fn mul_assign(&mut self, other: U448)

Performs the *= operation. Read more
source§

impl MulAssign<U512> for PreciseDecimal

source§

fn mul_assign(&mut self, other: U512)

Performs the *= operation. Read more
source§

impl MulAssign<i128> for PreciseDecimal

source§

fn mul_assign(&mut self, other: i128)

Performs the *= operation. Read more
source§

impl MulAssign<i16> for PreciseDecimal

source§

fn mul_assign(&mut self, other: i16)

Performs the *= operation. Read more
source§

impl MulAssign<i32> for PreciseDecimal

source§

fn mul_assign(&mut self, other: i32)

Performs the *= operation. Read more
source§

impl MulAssign<i64> for PreciseDecimal

source§

fn mul_assign(&mut self, other: i64)

Performs the *= operation. Read more
source§

impl MulAssign<i8> for PreciseDecimal

source§

fn mul_assign(&mut self, other: i8)

Performs the *= operation. Read more
source§

impl MulAssign<isize> for PreciseDecimal

source§

fn mul_assign(&mut self, other: isize)

Performs the *= operation. Read more
source§

impl MulAssign<u128> for PreciseDecimal

source§

fn mul_assign(&mut self, other: u128)

Performs the *= operation. Read more
source§

impl MulAssign<u16> for PreciseDecimal

source§

fn mul_assign(&mut self, other: u16)

Performs the *= operation. Read more
source§

impl MulAssign<u32> for PreciseDecimal

source§

fn mul_assign(&mut self, other: u32)

Performs the *= operation. Read more
source§

impl MulAssign<u64> for PreciseDecimal

source§

fn mul_assign(&mut self, other: u64)

Performs the *= operation. Read more
source§

impl MulAssign<u8> for PreciseDecimal

source§

fn mul_assign(&mut self, other: u8)

Performs the *= operation. Read more
source§

impl MulAssign<usize> for PreciseDecimal

source§

fn mul_assign(&mut self, other: usize)

Performs the *= operation. Read more
source§

impl MulAssign for PreciseDecimal

source§

fn mul_assign(&mut self, other: PreciseDecimal)

Performs the *= operation. Read more
source§

impl Neg for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn neg(self) -> <PreciseDecimal as Neg>::Output

Performs the unary - operation. Read more
source§

impl Ord for PreciseDecimal

source§

fn cmp(&self, other: &PreciseDecimal) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for PreciseDecimal

source§

fn eq(&self, other: &PreciseDecimal) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for PreciseDecimal

source§

fn partial_cmp(&self, other: &PreciseDecimal) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Sub<Decimal> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: Decimal) -> <PreciseDecimal as Sub<Decimal>>::Output

Performs the - operation. Read more
source§

impl Sub<I192> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: I192) -> <PreciseDecimal as Sub<I192>>::Output

Performs the - operation. Read more
source§

impl Sub<I256> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: I256) -> <PreciseDecimal as Sub<I256>>::Output

Performs the - operation. Read more
source§

impl Sub<I320> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: I320) -> <PreciseDecimal as Sub<I320>>::Output

Performs the - operation. Read more
source§

impl Sub<I448> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: I448) -> <PreciseDecimal as Sub<I448>>::Output

Performs the - operation. Read more
source§

impl Sub<I512> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: I512) -> <PreciseDecimal as Sub<I512>>::Output

Performs the - operation. Read more
source§

impl Sub<PreciseDecimal> for Decimal

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: PreciseDecimal) -> <Decimal as Sub<PreciseDecimal>>::Output

Performs the - operation. Read more
source§

impl Sub<PreciseDecimal> for I192

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: PreciseDecimal) -> <I192 as Sub<PreciseDecimal>>::Output

Performs the - operation. Read more
source§

impl Sub<PreciseDecimal> for I256

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: PreciseDecimal) -> <I256 as Sub<PreciseDecimal>>::Output

Performs the - operation. Read more
source§

impl Sub<PreciseDecimal> for I320

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: PreciseDecimal) -> <I320 as Sub<PreciseDecimal>>::Output

Performs the - operation. Read more
source§

impl Sub<PreciseDecimal> for I448

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: PreciseDecimal) -> <I448 as Sub<PreciseDecimal>>::Output

Performs the - operation. Read more
source§

impl Sub<PreciseDecimal> for I512

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: PreciseDecimal) -> <I512 as Sub<PreciseDecimal>>::Output

Performs the - operation. Read more
source§

impl Sub<PreciseDecimal> for U192

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: PreciseDecimal) -> <U192 as Sub<PreciseDecimal>>::Output

Performs the - operation. Read more
source§

impl Sub<PreciseDecimal> for U256

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: PreciseDecimal) -> <U256 as Sub<PreciseDecimal>>::Output

Performs the - operation. Read more
source§

impl Sub<PreciseDecimal> for U320

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: PreciseDecimal) -> <U320 as Sub<PreciseDecimal>>::Output

Performs the - operation. Read more
source§

impl Sub<PreciseDecimal> for U448

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: PreciseDecimal) -> <U448 as Sub<PreciseDecimal>>::Output

Performs the - operation. Read more
source§

impl Sub<PreciseDecimal> for U512

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: PreciseDecimal) -> <U512 as Sub<PreciseDecimal>>::Output

Performs the - operation. Read more
source§

impl Sub<PreciseDecimal> for i128

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: PreciseDecimal) -> <i128 as Sub<PreciseDecimal>>::Output

Performs the - operation. Read more
source§

impl Sub<PreciseDecimal> for i16

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: PreciseDecimal) -> <i16 as Sub<PreciseDecimal>>::Output

Performs the - operation. Read more
source§

impl Sub<PreciseDecimal> for i32

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: PreciseDecimal) -> <i32 as Sub<PreciseDecimal>>::Output

Performs the - operation. Read more
source§

impl Sub<PreciseDecimal> for i64

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: PreciseDecimal) -> <i64 as Sub<PreciseDecimal>>::Output

Performs the - operation. Read more
source§

impl Sub<PreciseDecimal> for i8

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: PreciseDecimal) -> <i8 as Sub<PreciseDecimal>>::Output

Performs the - operation. Read more
source§

impl Sub<PreciseDecimal> for isize

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: PreciseDecimal) -> <isize as Sub<PreciseDecimal>>::Output

Performs the - operation. Read more
source§

impl Sub<PreciseDecimal> for u128

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: PreciseDecimal) -> <u128 as Sub<PreciseDecimal>>::Output

Performs the - operation. Read more
source§

impl Sub<PreciseDecimal> for u16

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: PreciseDecimal) -> <u16 as Sub<PreciseDecimal>>::Output

Performs the - operation. Read more
source§

impl Sub<PreciseDecimal> for u32

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: PreciseDecimal) -> <u32 as Sub<PreciseDecimal>>::Output

Performs the - operation. Read more
source§

impl Sub<PreciseDecimal> for u64

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: PreciseDecimal) -> <u64 as Sub<PreciseDecimal>>::Output

Performs the - operation. Read more
source§

impl Sub<PreciseDecimal> for u8

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: PreciseDecimal) -> <u8 as Sub<PreciseDecimal>>::Output

Performs the - operation. Read more
source§

impl Sub<PreciseDecimal> for usize

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: PreciseDecimal) -> <usize as Sub<PreciseDecimal>>::Output

Performs the - operation. Read more
source§

impl Sub<U192> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: U192) -> <PreciseDecimal as Sub<U192>>::Output

Performs the - operation. Read more
source§

impl Sub<U256> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: U256) -> <PreciseDecimal as Sub<U256>>::Output

Performs the - operation. Read more
source§

impl Sub<U320> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: U320) -> <PreciseDecimal as Sub<U320>>::Output

Performs the - operation. Read more
source§

impl Sub<U448> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: U448) -> <PreciseDecimal as Sub<U448>>::Output

Performs the - operation. Read more
source§

impl Sub<U512> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: U512) -> <PreciseDecimal as Sub<U512>>::Output

Performs the - operation. Read more
source§

impl Sub<i128> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: i128) -> <PreciseDecimal as Sub<i128>>::Output

Performs the - operation. Read more
source§

impl Sub<i16> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: i16) -> <PreciseDecimal as Sub<i16>>::Output

Performs the - operation. Read more
source§

impl Sub<i32> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: i32) -> <PreciseDecimal as Sub<i32>>::Output

Performs the - operation. Read more
source§

impl Sub<i64> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: i64) -> <PreciseDecimal as Sub<i64>>::Output

Performs the - operation. Read more
source§

impl Sub<i8> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: i8) -> <PreciseDecimal as Sub<i8>>::Output

Performs the - operation. Read more
source§

impl Sub<isize> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: isize) -> <PreciseDecimal as Sub<isize>>::Output

Performs the - operation. Read more
source§

impl Sub<u128> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: u128) -> <PreciseDecimal as Sub<u128>>::Output

Performs the - operation. Read more
source§

impl Sub<u16> for PreciseDecimal

§

type Output = PreciseDecimal

The resulting type after applying the - operator.
source§

fn sub(self, other: u16) -> <PreciseDecimal as Sub<u16>>::Output

Performs the - operation. Read more