Struct scrypto::math::precise_decimal::PreciseDecimal
source · 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
impl PreciseDecimal
sourcepub const MIN: PreciseDecimal = Self(I256::MIN)
pub const MIN: PreciseDecimal = Self(I256::MIN)
The min value of PreciseDecimal
.
sourcepub const MAX: PreciseDecimal = Self(I256::MAX)
pub const MAX: PreciseDecimal = Self(I256::MAX)
The max value of PreciseDecimal
.
pub const ZERO: PreciseDecimal = Self(I256::ZERO)
pub const ONE_HUNDREDTH: PreciseDecimal = Self(I256::from_digits([4003012203950112768, 542101086242752, 0, 0]))
pub const ONE_TENTH: PreciseDecimal = Self(I256::from_digits([3136633892082024448, 5421010862427522, 0, 0]))
pub const ONE: PreciseDecimal = Self(I256::from_digits([12919594847110692864, 54210108624275221, 0, 0]))
pub const TEN: PreciseDecimal = Self(I256::from_digits([68739955140067328, 542101086242752217, 0, 0]))
pub const ONE_HUNDRED: PreciseDecimal = Self(I256::from_digits([687399551400673280, 5421010862427522170, 0, 0]))
sourcepub fn zero() -> PreciseDecimal
pub fn zero() -> PreciseDecimal
Returns PreciseDecimal
of 0.
sourcepub fn one() -> PreciseDecimal
pub fn one() -> PreciseDecimal
Returns PreciseDecimal
of 1.
sourcepub fn is_positive(&self) -> bool
pub fn is_positive(&self) -> bool
Whether this decimal is positive.
sourcepub fn is_negative(&self) -> bool
pub fn is_negative(&self) -> bool
Whether this decimal is negative.
sourcepub fn checked_abs(&self) -> Option<PreciseDecimal>
pub fn checked_abs(&self) -> Option<PreciseDecimal>
Returns the absolute value.
sourcepub fn checked_floor(&self) -> Option<PreciseDecimal>
pub fn checked_floor(&self) -> Option<PreciseDecimal>
Returns the largest integer that is equal to or less than this number.
sourcepub fn checked_ceiling(&self) -> Option<PreciseDecimal>
pub fn checked_ceiling(&self) -> Option<PreciseDecimal>
Returns the smallest integer that is equal to or greater than this number.
sourcepub fn checked_round<T>(
&self,
decimal_places: T,
mode: RoundingMode
) -> Option<PreciseDecimal>where
T: Into<i32>,
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]
sourcepub fn checked_powi(&self, exp: i64) -> Option<PreciseDecimal>
pub fn checked_powi(&self, exp: i64) -> Option<PreciseDecimal>
Calculates power using exponentiation by squaring.
sourcepub fn checked_sqrt(&self) -> Option<PreciseDecimal>
pub fn checked_sqrt(&self) -> Option<PreciseDecimal>
Square root of a PreciseDecimal
sourcepub fn checked_cbrt(&self) -> Option<PreciseDecimal>
pub fn checked_cbrt(&self) -> Option<PreciseDecimal>
Cubic root of a PreciseDecimal
sourcepub fn checked_nth_root(&self, n: u32) -> Option<PreciseDecimal>
pub fn checked_nth_root(&self, n: u32) -> Option<PreciseDecimal>
Nth root of a PreciseDecimal
Trait Implementations§
source§impl Add<Decimal> for PreciseDecimal
impl Add<Decimal> for PreciseDecimal
source§impl Add<I192> for PreciseDecimal
impl Add<I192> for PreciseDecimal
source§impl Add<I256> for PreciseDecimal
impl Add<I256> for PreciseDecimal
source§impl Add<I320> for PreciseDecimal
impl Add<I320> for PreciseDecimal
source§impl Add<I448> for PreciseDecimal
impl Add<I448> for PreciseDecimal
source§impl Add<I512> for PreciseDecimal
impl Add<I512> for PreciseDecimal
source§impl Add<PreciseDecimal> for Decimal
impl Add<PreciseDecimal> for Decimal
§type Output = PreciseDecimal
type Output = PreciseDecimal
+
operator.source§fn add(self, other: PreciseDecimal) -> <Decimal as Add<PreciseDecimal>>::Output
fn add(self, other: PreciseDecimal) -> <Decimal as Add<PreciseDecimal>>::Output
+
operation. Read moresource§impl Add<PreciseDecimal> for I192
impl Add<PreciseDecimal> for I192
§type Output = PreciseDecimal
type Output = PreciseDecimal
+
operator.source§fn add(self, other: PreciseDecimal) -> <I192 as Add<PreciseDecimal>>::Output
fn add(self, other: PreciseDecimal) -> <I192 as Add<PreciseDecimal>>::Output
+
operation. Read moresource§impl Add<PreciseDecimal> for I256
impl Add<PreciseDecimal> for I256
§type Output = PreciseDecimal
type Output = PreciseDecimal
+
operator.source§fn add(self, other: PreciseDecimal) -> <I256 as Add<PreciseDecimal>>::Output
fn add(self, other: PreciseDecimal) -> <I256 as Add<PreciseDecimal>>::Output
+
operation. Read moresource§impl Add<PreciseDecimal> for I320
impl Add<PreciseDecimal> for I320
§type Output = PreciseDecimal
type Output = PreciseDecimal
+
operator.source§fn add(self, other: PreciseDecimal) -> <I320 as Add<PreciseDecimal>>::Output
fn add(self, other: PreciseDecimal) -> <I320 as Add<PreciseDecimal>>::Output
+
operation. Read moresource§impl Add<PreciseDecimal> for I448
impl Add<PreciseDecimal> for I448
§type Output = PreciseDecimal
type Output = PreciseDecimal
+
operator.source§fn add(self, other: PreciseDecimal) -> <I448 as Add<PreciseDecimal>>::Output
fn add(self, other: PreciseDecimal) -> <I448 as Add<PreciseDecimal>>::Output
+
operation. Read moresource§impl Add<PreciseDecimal> for I512
impl Add<PreciseDecimal> for I512
§type Output = PreciseDecimal
type Output = PreciseDecimal
+
operator.source§fn add(self, other: PreciseDecimal) -> <I512 as Add<PreciseDecimal>>::Output
fn add(self, other: PreciseDecimal) -> <I512 as Add<PreciseDecimal>>::Output
+
operation. Read moresource§impl Add<PreciseDecimal> for PreciseDecimal
impl Add<PreciseDecimal> for PreciseDecimal
§type Output = PreciseDecimal
type Output = PreciseDecimal
+
operator.source§fn add(
self,
other: PreciseDecimal
) -> <PreciseDecimal as Add<PreciseDecimal>>::Output
fn add( self, other: PreciseDecimal ) -> <PreciseDecimal as Add<PreciseDecimal>>::Output
+
operation. Read moresource§impl Add<PreciseDecimal> for U192
impl Add<PreciseDecimal> for U192
§type Output = PreciseDecimal
type Output = PreciseDecimal
+
operator.source§fn add(self, other: PreciseDecimal) -> <U192 as Add<PreciseDecimal>>::Output
fn add(self, other: PreciseDecimal) -> <U192 as Add<PreciseDecimal>>::Output
+
operation. Read moresource§impl Add<PreciseDecimal> for U256
impl Add<PreciseDecimal> for U256
§type Output = PreciseDecimal
type Output = PreciseDecimal
+
operator.source§fn add(self, other: PreciseDecimal) -> <U256 as Add<PreciseDecimal>>::Output
fn add(self, other: PreciseDecimal) -> <U256 as Add<PreciseDecimal>>::Output
+
operation. Read moresource§impl Add<PreciseDecimal> for U320
impl Add<PreciseDecimal> for U320
§type Output = PreciseDecimal
type Output = PreciseDecimal
+
operator.source§fn add(self, other: PreciseDecimal) -> <U320 as Add<PreciseDecimal>>::Output
fn add(self, other: PreciseDecimal) -> <U320 as Add<PreciseDecimal>>::Output
+
operation. Read moresource§impl Add<PreciseDecimal> for U448
impl Add<PreciseDecimal> for U448
§type Output = PreciseDecimal
type Output = PreciseDecimal
+
operator.source§fn add(self, other: PreciseDecimal) -> <U448 as Add<PreciseDecimal>>::Output
fn add(self, other: PreciseDecimal) -> <U448 as Add<PreciseDecimal>>::Output
+
operation. Read moresource§impl Add<PreciseDecimal> for U512
impl Add<PreciseDecimal> for U512
§type Output = PreciseDecimal
type Output = PreciseDecimal
+
operator.source§fn add(self, other: PreciseDecimal) -> <U512 as Add<PreciseDecimal>>::Output
fn add(self, other: PreciseDecimal) -> <U512 as Add<PreciseDecimal>>::Output
+
operation. Read moresource§impl Add<PreciseDecimal> for i128
impl Add<PreciseDecimal> for i128
§type Output = PreciseDecimal
type Output = PreciseDecimal
+
operator.source§fn add(self, other: PreciseDecimal) -> <i128 as Add<PreciseDecimal>>::Output
fn add(self, other: PreciseDecimal) -> <i128 as Add<PreciseDecimal>>::Output
+
operation. Read moresource§impl Add<PreciseDecimal> for i16
impl Add<PreciseDecimal> for i16
§type Output = PreciseDecimal
type Output = PreciseDecimal
+
operator.source§fn add(self, other: PreciseDecimal) -> <i16 as Add<PreciseDecimal>>::Output
fn add(self, other: PreciseDecimal) -> <i16 as Add<PreciseDecimal>>::Output
+
operation. Read moresource§impl Add<PreciseDecimal> for i32
impl Add<PreciseDecimal> for i32
§type Output = PreciseDecimal
type Output = PreciseDecimal
+
operator.source§fn add(self, other: PreciseDecimal) -> <i32 as Add<PreciseDecimal>>::Output
fn add(self, other: PreciseDecimal) -> <i32 as Add<PreciseDecimal>>::Output
+
operation. Read moresource§impl Add<PreciseDecimal> for i64
impl Add<PreciseDecimal> for i64
§type Output = PreciseDecimal
type Output = PreciseDecimal
+
operator.source§fn add(self, other: PreciseDecimal) -> <i64 as Add<PreciseDecimal>>::Output
fn add(self, other: PreciseDecimal) -> <i64 as Add<PreciseDecimal>>::Output
+
operation. Read moresource§impl Add<PreciseDecimal> for i8
impl Add<PreciseDecimal> for i8
§type Output = PreciseDecimal
type Output = PreciseDecimal
+
operator.source§fn add(self, other: PreciseDecimal) -> <i8 as Add<PreciseDecimal>>::Output
fn add(self, other: PreciseDecimal) -> <i8 as Add<PreciseDecimal>>::Output
+
operation. Read moresource§impl Add<PreciseDecimal> for isize
impl Add<PreciseDecimal> for isize
§type Output = PreciseDecimal
type Output = PreciseDecimal
+
operator.source§fn add(self, other: PreciseDecimal) -> <isize as Add<PreciseDecimal>>::Output
fn add(self, other: PreciseDecimal) -> <isize as Add<PreciseDecimal>>::Output
+
operation. Read moresource§impl Add<PreciseDecimal> for u128
impl Add<PreciseDecimal> for u128
§type Output = PreciseDecimal
type Output = PreciseDecimal
+
operator.source§fn add(self, other: PreciseDecimal) -> <u128 as Add<PreciseDecimal>>::Output
fn add(self, other: PreciseDecimal) -> <u128 as Add<PreciseDecimal>>::Output
+
operation. Read moresource§impl Add<PreciseDecimal> for u16
impl Add<PreciseDecimal> for u16
§type Output = PreciseDecimal
type Output = PreciseDecimal
+
operator.source§fn add(self, other: PreciseDecimal) -> <u16 as Add<PreciseDecimal>>::Output
fn add(self, other: PreciseDecimal) -> <u16 as Add<PreciseDecimal>>::Output
+
operation. Read moresource§impl Add<PreciseDecimal> for u32
impl Add<PreciseDecimal> for u32
§type Output = PreciseDecimal
type Output = PreciseDecimal
+
operator.source§fn add(self, other: PreciseDecimal) -> <u32 as Add<PreciseDecimal>>::Output
fn add(self, other: PreciseDecimal) -> <u32 as Add<PreciseDecimal>>::Output
+
operation. Read moresource§impl Add<PreciseDecimal> for u64
impl Add<PreciseDecimal> for u64
§type Output = PreciseDecimal
type Output = PreciseDecimal
+
operator.source§fn add(self, other: PreciseDecimal) -> <u64 as Add<PreciseDecimal>>::Output
fn add(self, other: PreciseDecimal) -> <u64 as Add<PreciseDecimal>>::Output
+
operation. Read moresource§impl Add<PreciseDecimal> for u8
impl Add<PreciseDecimal> for u8
§type Output = PreciseDecimal
type Output = PreciseDecimal
+
operator.source§fn add(self, other: PreciseDecimal) -> <u8 as Add<PreciseDecimal>>::Output
fn add(self, other: PreciseDecimal) -> <u8 as Add<PreciseDecimal>>::Output
+
operation. Read moresource§impl Add<PreciseDecimal> for usize
impl Add<PreciseDecimal> for usize
§type Output = PreciseDecimal
type Output = PreciseDecimal
+
operator.source§fn add(self, other: PreciseDecimal) -> <usize as Add<PreciseDecimal>>::Output
fn add(self, other: PreciseDecimal) -> <usize as Add<PreciseDecimal>>::Output
+
operation. Read moresource§impl Add<U192> for PreciseDecimal
impl Add<U192> for PreciseDecimal
source§impl Add<U256> for PreciseDecimal
impl Add<U256> for PreciseDecimal
source§impl Add<U320> for PreciseDecimal
impl Add<U320> for PreciseDecimal
source§impl Add<U448> for PreciseDecimal
impl Add<U448> for PreciseDecimal
source§impl Add<U512> for PreciseDecimal
impl Add<U512> for PreciseDecimal
source§impl Add<i128> for PreciseDecimal
impl Add<i128> for PreciseDecimal
source§impl Add<i16> for PreciseDecimal
impl Add<i16> for PreciseDecimal
source§impl Add<i32> for PreciseDecimal
impl Add<i32> for PreciseDecimal
source§impl Add<i64> for PreciseDecimal
impl Add<i64> for PreciseDecimal
source§impl Add<i8> for PreciseDecimal
impl Add<i8> for PreciseDecimal
source§impl Add<isize> for PreciseDecimal
impl Add<isize> for PreciseDecimal
source§impl Add<u128> for PreciseDecimal
impl Add<u128> for PreciseDecimal
source§impl Add<u16> for PreciseDecimal
impl Add<u16> for PreciseDecimal
source§impl Add<u32> for PreciseDecimal
impl Add<u32> for PreciseDecimal
source§impl Add<u64> for PreciseDecimal
impl Add<u64> for PreciseDecimal
source§impl Add<u8> for PreciseDecimal
impl Add<u8> for PreciseDecimal
source§impl Add<usize> for PreciseDecimal
impl Add<usize> for PreciseDecimal
source§impl AddAssign<Decimal> for PreciseDecimal
impl AddAssign<Decimal> for PreciseDecimal
source§fn add_assign(&mut self, other: Decimal)
fn add_assign(&mut self, other: Decimal)
+=
operation. Read moresource§impl AddAssign<I192> for PreciseDecimal
impl AddAssign<I192> for PreciseDecimal
source§fn add_assign(&mut self, other: I192)
fn add_assign(&mut self, other: I192)
+=
operation. Read moresource§impl AddAssign<I256> for PreciseDecimal
impl AddAssign<I256> for PreciseDecimal
source§fn add_assign(&mut self, other: I256)
fn add_assign(&mut self, other: I256)
+=
operation. Read moresource§impl AddAssign<I320> for PreciseDecimal
impl AddAssign<I320> for PreciseDecimal
source§fn add_assign(&mut self, other: I320)
fn add_assign(&mut self, other: I320)
+=
operation. Read moresource§impl AddAssign<I448> for PreciseDecimal
impl AddAssign<I448> for PreciseDecimal
source§fn add_assign(&mut self, other: I448)
fn add_assign(&mut self, other: I448)
+=
operation. Read moresource§impl AddAssign<I512> for PreciseDecimal
impl AddAssign<I512> for PreciseDecimal
source§fn add_assign(&mut self, other: I512)
fn add_assign(&mut self, other: I512)
+=
operation. Read moresource§impl AddAssign<PreciseDecimal> for PreciseDecimal
impl AddAssign<PreciseDecimal> for PreciseDecimal
source§fn add_assign(&mut self, other: PreciseDecimal)
fn add_assign(&mut self, other: PreciseDecimal)
+=
operation. Read moresource§impl AddAssign<U192> for PreciseDecimal
impl AddAssign<U192> for PreciseDecimal
source§fn add_assign(&mut self, other: U192)
fn add_assign(&mut self, other: U192)
+=
operation. Read moresource§impl AddAssign<U256> for PreciseDecimal
impl AddAssign<U256> for PreciseDecimal
source§fn add_assign(&mut self, other: U256)
fn add_assign(&mut self, other: U256)
+=
operation. Read moresource§impl AddAssign<U320> for PreciseDecimal
impl AddAssign<U320> for PreciseDecimal
source§fn add_assign(&mut self, other: U320)
fn add_assign(&mut self, other: U320)
+=
operation. Read moresource§impl AddAssign<U448> for PreciseDecimal
impl AddAssign<U448> for PreciseDecimal
source§fn add_assign(&mut self, other: U448)
fn add_assign(&mut self, other: U448)
+=
operation. Read moresource§impl AddAssign<U512> for PreciseDecimal
impl AddAssign<U512> for PreciseDecimal
source§fn add_assign(&mut self, other: U512)
fn add_assign(&mut self, other: U512)
+=
operation. Read moresource§impl AddAssign<i128> for PreciseDecimal
impl AddAssign<i128> for PreciseDecimal
source§fn add_assign(&mut self, other: i128)
fn add_assign(&mut self, other: i128)
+=
operation. Read moresource§impl AddAssign<i16> for PreciseDecimal
impl AddAssign<i16> for PreciseDecimal
source§fn add_assign(&mut self, other: i16)
fn add_assign(&mut self, other: i16)
+=
operation. Read moresource§impl AddAssign<i32> for PreciseDecimal
impl AddAssign<i32> for PreciseDecimal
source§fn add_assign(&mut self, other: i32)
fn add_assign(&mut self, other: i32)
+=
operation. Read moresource§impl AddAssign<i64> for PreciseDecimal
impl AddAssign<i64> for PreciseDecimal
source§fn add_assign(&mut self, other: i64)
fn add_assign(&mut self, other: i64)
+=
operation. Read moresource§impl AddAssign<i8> for PreciseDecimal
impl AddAssign<i8> for PreciseDecimal
source§fn add_assign(&mut self, other: i8)
fn add_assign(&mut self, other: i8)
+=
operation. Read moresource§impl AddAssign<isize> for PreciseDecimal
impl AddAssign<isize> for PreciseDecimal
source§fn add_assign(&mut self, other: isize)
fn add_assign(&mut self, other: isize)
+=
operation. Read moresource§impl AddAssign<u128> for PreciseDecimal
impl AddAssign<u128> for PreciseDecimal
source§fn add_assign(&mut self, other: u128)
fn add_assign(&mut self, other: u128)
+=
operation. Read moresource§impl AddAssign<u16> for PreciseDecimal
impl AddAssign<u16> for PreciseDecimal
source§fn add_assign(&mut self, other: u16)
fn add_assign(&mut self, other: u16)
+=
operation. Read moresource§impl AddAssign<u32> for PreciseDecimal
impl AddAssign<u32> for PreciseDecimal
source§fn add_assign(&mut self, other: u32)
fn add_assign(&mut self, other: u32)
+=
operation. Read moresource§impl AddAssign<u64> for PreciseDecimal
impl AddAssign<u64> for PreciseDecimal
source§fn add_assign(&mut self, other: u64)
fn add_assign(&mut self, other: u64)
+=
operation. Read moresource§impl AddAssign<u8> for PreciseDecimal
impl AddAssign<u8> for PreciseDecimal
source§fn add_assign(&mut self, other: u8)
fn add_assign(&mut self, other: u8)
+=
operation. Read moresource§impl AddAssign<usize> for PreciseDecimal
impl AddAssign<usize> for PreciseDecimal
source§fn add_assign(&mut self, other: usize)
fn add_assign(&mut self, other: usize)
+=
operation. Read moresource§impl CheckedAdd<Decimal> for PreciseDecimal
impl CheckedAdd<Decimal> for PreciseDecimal
type Output = PreciseDecimal
fn checked_add( self, other: Decimal ) -> Option<<PreciseDecimal as CheckedAdd<Decimal>>::Output>
source§impl CheckedAdd<I192> for PreciseDecimal
impl CheckedAdd<I192> for PreciseDecimal
type Output = PreciseDecimal
fn checked_add( self, other: I192 ) -> Option<<PreciseDecimal as CheckedAdd<I192>>::Output>
source§impl CheckedAdd<I256> for PreciseDecimal
impl CheckedAdd<I256> for PreciseDecimal
type Output = PreciseDecimal
fn checked_add( self, other: I256 ) -> Option<<PreciseDecimal as CheckedAdd<I256>>::Output>
source§impl CheckedAdd<I320> for PreciseDecimal
impl CheckedAdd<I320> for PreciseDecimal
type Output = PreciseDecimal
fn checked_add( self, other: I320 ) -> Option<<PreciseDecimal as CheckedAdd<I320>>::Output>
source§impl CheckedAdd<I448> for PreciseDecimal
impl CheckedAdd<I448> for PreciseDecimal
type Output = PreciseDecimal
fn checked_add( self, other: I448 ) -> Option<<PreciseDecimal as CheckedAdd<I448>>::Output>
source§impl CheckedAdd<I512> for PreciseDecimal
impl CheckedAdd<I512> for PreciseDecimal
type Output = PreciseDecimal
fn checked_add( self, other: I512 ) -> Option<<PreciseDecimal as CheckedAdd<I512>>::Output>
source§impl CheckedAdd<PreciseDecimal> for Decimal
impl CheckedAdd<PreciseDecimal> for Decimal
type Output = PreciseDecimal
fn checked_add( self, other: PreciseDecimal ) -> Option<<Decimal as CheckedAdd<PreciseDecimal>>::Output>
source§impl CheckedAdd<PreciseDecimal> for I192
impl CheckedAdd<PreciseDecimal> for I192
type Output = PreciseDecimal
fn checked_add( self, other: PreciseDecimal ) -> Option<<I192 as CheckedAdd<PreciseDecimal>>::Output>
source§impl CheckedAdd<PreciseDecimal> for I256
impl CheckedAdd<PreciseDecimal> for I256
type Output = PreciseDecimal
fn checked_add( self, other: PreciseDecimal ) -> Option<<I256 as CheckedAdd<PreciseDecimal>>::Output>
source§impl CheckedAdd<PreciseDecimal> for I320
impl CheckedAdd<PreciseDecimal> for I320
type Output = PreciseDecimal
fn checked_add( self, other: PreciseDecimal ) -> Option<<I320 as CheckedAdd<PreciseDecimal>>::Output>
source§impl CheckedAdd<PreciseDecimal> for I448
impl CheckedAdd<PreciseDecimal> for I448
type Output = PreciseDecimal
fn checked_add( self, other: PreciseDecimal ) -> Option<<I448 as CheckedAdd<PreciseDecimal>>::Output>
source§impl CheckedAdd<PreciseDecimal> for I512
impl CheckedAdd<PreciseDecimal> for I512
type Output = PreciseDecimal
fn checked_add( self, other: PreciseDecimal ) -> Option<<I512 as CheckedAdd<PreciseDecimal>>::Output>
source§impl CheckedAdd<PreciseDecimal> for PreciseDecimal
impl CheckedAdd<PreciseDecimal> for PreciseDecimal
type Output = PreciseDecimal
fn checked_add( self, other: PreciseDecimal ) -> Option<<PreciseDecimal as CheckedAdd<PreciseDecimal>>::Output>
source§impl CheckedAdd<PreciseDecimal> for U192
impl CheckedAdd<PreciseDecimal> for U192
type Output = PreciseDecimal
fn checked_add( self, other: PreciseDecimal ) -> Option<<U192 as CheckedAdd<PreciseDecimal>>::Output>
source§impl CheckedAdd<PreciseDecimal> for U256
impl CheckedAdd<PreciseDecimal> for U256
type Output = PreciseDecimal
fn checked_add( self, other: PreciseDecimal ) -> Option<<U256 as CheckedAdd<PreciseDecimal>>::Output>
source§impl CheckedAdd<PreciseDecimal> for U320
impl CheckedAdd<PreciseDecimal> for U320
type Output = PreciseDecimal
fn checked_add( self, other: PreciseDecimal ) -> Option<<U320 as CheckedAdd<PreciseDecimal>>::Output>
source§impl CheckedAdd<PreciseDecimal> for U448
impl CheckedAdd<PreciseDecimal> for U448
type Output = PreciseDecimal
fn checked_add( self, other: PreciseDecimal ) -> Option<<U448 as CheckedAdd<PreciseDecimal>>::Output>
source§impl CheckedAdd<PreciseDecimal> for U512
impl CheckedAdd<PreciseDecimal> for U512
type Output = PreciseDecimal
fn checked_add( self, other: PreciseDecimal ) -> Option<<U512 as CheckedAdd<PreciseDecimal>>::Output>
source§impl CheckedAdd<U192> for PreciseDecimal
impl CheckedAdd<U192> for PreciseDecimal
type Output = PreciseDecimal
fn checked_add( self, other: U192 ) -> Option<<PreciseDecimal as CheckedAdd<U192>>::Output>
source§impl CheckedAdd<U256> for PreciseDecimal
impl CheckedAdd<U256> for PreciseDecimal
type Output = PreciseDecimal
fn checked_add( self, other: U256 ) -> Option<<PreciseDecimal as CheckedAdd<U256>>::Output>
source§impl CheckedAdd<U320> for PreciseDecimal
impl CheckedAdd<U320> for PreciseDecimal
type Output = PreciseDecimal
fn checked_add( self, other: U320 ) -> Option<<PreciseDecimal as CheckedAdd<U320>>::Output>
source§impl CheckedAdd<U448> for PreciseDecimal
impl CheckedAdd<U448> for PreciseDecimal
type Output = PreciseDecimal
fn checked_add( self, other: U448 ) -> Option<<PreciseDecimal as CheckedAdd<U448>>::Output>
source§impl CheckedAdd<U512> for PreciseDecimal
impl CheckedAdd<U512> for PreciseDecimal
type Output = PreciseDecimal
fn checked_add( self, other: U512 ) -> Option<<PreciseDecimal as CheckedAdd<U512>>::Output>
source§impl CheckedAdd<i128> for PreciseDecimal
impl CheckedAdd<i128> for PreciseDecimal
type Output = PreciseDecimal
fn checked_add( self, other: i128 ) -> Option<<PreciseDecimal as CheckedAdd<i128>>::Output>
source§impl CheckedAdd<i16> for PreciseDecimal
impl CheckedAdd<i16> for PreciseDecimal
type Output = PreciseDecimal
fn checked_add( self, other: i16 ) -> Option<<PreciseDecimal as CheckedAdd<i16>>::Output>
source§impl CheckedAdd<i32> for PreciseDecimal
impl CheckedAdd<i32> for PreciseDecimal
type Output = PreciseDecimal
fn checked_add( self, other: i32 ) -> Option<<PreciseDecimal as CheckedAdd<i32>>::Output>
source§impl CheckedAdd<i64> for PreciseDecimal
impl CheckedAdd<i64> for PreciseDecimal
type Output = PreciseDecimal
fn checked_add( self, other: i64 ) -> Option<<PreciseDecimal as CheckedAdd<i64>>::Output>
source§impl CheckedAdd<i8> for PreciseDecimal
impl CheckedAdd<i8> for PreciseDecimal
type Output = PreciseDecimal
fn checked_add( self, other: i8 ) -> Option<<PreciseDecimal as CheckedAdd<i8>>::Output>
source§impl CheckedAdd<isize> for PreciseDecimal
impl CheckedAdd<isize> for PreciseDecimal
type Output = PreciseDecimal
fn checked_add( self, other: isize ) -> Option<<PreciseDecimal as CheckedAdd<isize>>::Output>
source§impl CheckedAdd<u128> for PreciseDecimal
impl CheckedAdd<u128> for PreciseDecimal
type Output = PreciseDecimal
fn checked_add( self, other: u128 ) -> Option<<PreciseDecimal as CheckedAdd<u128>>::Output>
source§impl CheckedAdd<u16> for PreciseDecimal
impl CheckedAdd<u16> for PreciseDecimal
type Output = PreciseDecimal
fn checked_add( self, other: u16 ) -> Option<<PreciseDecimal as CheckedAdd<u16>>::Output>
source§impl CheckedAdd<u32> for PreciseDecimal
impl CheckedAdd<u32> for PreciseDecimal
type Output = PreciseDecimal
fn checked_add( self, other: u32 ) -> Option<<PreciseDecimal as CheckedAdd<u32>>::Output>
source§impl CheckedAdd<u64> for PreciseDecimal
impl CheckedAdd<u64> for PreciseDecimal
type Output = PreciseDecimal
fn checked_add( self, other: u64 ) -> Option<<PreciseDecimal as CheckedAdd<u64>>::Output>
source§impl CheckedAdd<u8> for PreciseDecimal
impl CheckedAdd<u8> for PreciseDecimal
type Output = PreciseDecimal
fn checked_add( self, other: u8 ) -> Option<<PreciseDecimal as CheckedAdd<u8>>::Output>
source§impl CheckedAdd<usize> for PreciseDecimal
impl CheckedAdd<usize> for PreciseDecimal
type Output = PreciseDecimal
fn checked_add( self, other: usize ) -> Option<<PreciseDecimal as CheckedAdd<usize>>::Output>
source§impl CheckedDiv<Decimal> for PreciseDecimal
impl CheckedDiv<Decimal> for PreciseDecimal
type Output = PreciseDecimal
fn checked_div( self, other: Decimal ) -> Option<<PreciseDecimal as CheckedDiv<Decimal>>::Output>
source§impl CheckedDiv<I192> for PreciseDecimal
impl CheckedDiv<I192> for PreciseDecimal
type Output = PreciseDecimal
fn checked_div( self, other: I192 ) -> Option<<PreciseDecimal as CheckedDiv<I192>>::Output>
source§impl CheckedDiv<I256> for PreciseDecimal
impl CheckedDiv<I256> for PreciseDecimal
type Output = PreciseDecimal
fn checked_div( self, other: I256 ) -> Option<<PreciseDecimal as CheckedDiv<I256>>::Output>
source§impl CheckedDiv<I320> for PreciseDecimal
impl CheckedDiv<I320> for PreciseDecimal
type Output = PreciseDecimal
fn checked_div( self, other: I320 ) -> Option<<PreciseDecimal as CheckedDiv<I320>>::Output>
source§impl CheckedDiv<I448> for PreciseDecimal
impl CheckedDiv<I448> for PreciseDecimal
type Output = PreciseDecimal
fn checked_div( self, other: I448 ) -> Option<<PreciseDecimal as CheckedDiv<I448>>::Output>
source§impl CheckedDiv<I512> for PreciseDecimal
impl CheckedDiv<I512> for PreciseDecimal
type Output = PreciseDecimal
fn checked_div( self, other: I512 ) -> Option<<PreciseDecimal as CheckedDiv<I512>>::Output>
source§impl CheckedDiv<PreciseDecimal> for Decimal
impl CheckedDiv<PreciseDecimal> for Decimal
type Output = PreciseDecimal
fn checked_div( self, other: PreciseDecimal ) -> Option<<Decimal as CheckedDiv<PreciseDecimal>>::Output>
source§impl CheckedDiv<PreciseDecimal> for I192
impl CheckedDiv<PreciseDecimal> for I192
type Output = PreciseDecimal
fn checked_div( self, other: PreciseDecimal ) -> Option<<I192 as CheckedDiv<PreciseDecimal>>::Output>
source§impl CheckedDiv<PreciseDecimal> for I256
impl CheckedDiv<PreciseDecimal> for I256
type Output = PreciseDecimal
fn checked_div( self, other: PreciseDecimal ) -> Option<<I256 as CheckedDiv<PreciseDecimal>>::Output>
source§impl CheckedDiv<PreciseDecimal> for I320
impl CheckedDiv<PreciseDecimal> for I320
type Output = PreciseDecimal
fn checked_div( self, other: PreciseDecimal ) -> Option<<I320 as CheckedDiv<PreciseDecimal>>::Output>
source§impl CheckedDiv<PreciseDecimal> for I448
impl CheckedDiv<PreciseDecimal> for I448
type Output = PreciseDecimal
fn checked_div( self, other: PreciseDecimal ) -> Option<<I448 as CheckedDiv<PreciseDecimal>>::Output>
source§impl CheckedDiv<PreciseDecimal> for I512
impl CheckedDiv<PreciseDecimal> for I512
type Output = PreciseDecimal
fn checked_div( self, other: PreciseDecimal ) -> Option<<I512 as CheckedDiv<PreciseDecimal>>::Output>
source§impl CheckedDiv<PreciseDecimal> for PreciseDecimal
impl CheckedDiv<PreciseDecimal> for PreciseDecimal
type Output = PreciseDecimal
fn checked_div(self, other: PreciseDecimal) -> Option<PreciseDecimal>
source§impl CheckedDiv<PreciseDecimal> for U192
impl CheckedDiv<PreciseDecimal> for U192
type Output = PreciseDecimal
fn checked_div( self, other: PreciseDecimal ) -> Option<<U192 as CheckedDiv<PreciseDecimal>>::Output>
source§impl CheckedDiv<PreciseDecimal> for U256
impl CheckedDiv<PreciseDecimal> for U256
type Output = PreciseDecimal
fn checked_div( self, other: PreciseDecimal ) -> Option<<U256 as CheckedDiv<PreciseDecimal>>::Output>
source§impl CheckedDiv<PreciseDecimal> for U320
impl CheckedDiv<PreciseDecimal> for U320
type Output = PreciseDecimal
fn checked_div( self, other: PreciseDecimal ) -> Option<<U320 as CheckedDiv<PreciseDecimal>>::Output>
source§impl CheckedDiv<PreciseDecimal> for U448
impl CheckedDiv<PreciseDecimal> for U448
type Output = PreciseDecimal
fn checked_div( self, other: PreciseDecimal ) -> Option<<U448 as CheckedDiv<PreciseDecimal>>::Output>
source§impl CheckedDiv<PreciseDecimal> for U512
impl CheckedDiv<PreciseDecimal> for U512
type Output = PreciseDecimal
fn checked_div( self, other: PreciseDecimal ) -> Option<<U512 as CheckedDiv<PreciseDecimal>>::Output>
source§impl CheckedDiv<U192> for PreciseDecimal
impl CheckedDiv<U192> for PreciseDecimal
type Output = PreciseDecimal
fn checked_div( self, other: U192 ) -> Option<<PreciseDecimal as CheckedDiv<U192>>::Output>
source§impl CheckedDiv<U256> for PreciseDecimal
impl CheckedDiv<U256> for PreciseDecimal
type Output = PreciseDecimal
fn checked_div( self, other: U256 ) -> Option<<PreciseDecimal as CheckedDiv<U256>>::Output>
source§impl CheckedDiv<U320> for PreciseDecimal
impl CheckedDiv<U320> for PreciseDecimal
type Output = PreciseDecimal
fn checked_div( self, other: U320 ) -> Option<<PreciseDecimal as CheckedDiv<U320>>::Output>
source§impl CheckedDiv<U448> for PreciseDecimal
impl CheckedDiv<U448> for PreciseDecimal
type Output = PreciseDecimal
fn checked_div( self, other: U448 ) -> Option<<PreciseDecimal as CheckedDiv<U448>>::Output>
source§impl CheckedDiv<U512> for PreciseDecimal
impl CheckedDiv<U512> for PreciseDecimal
type Output = PreciseDecimal
fn checked_div( self, other: U512 ) -> Option<<PreciseDecimal as CheckedDiv<U512>>::Output>
source§impl CheckedDiv<i128> for PreciseDecimal
impl CheckedDiv<i128> for PreciseDecimal
type Output = PreciseDecimal
fn checked_div( self, other: i128 ) -> Option<<PreciseDecimal as CheckedDiv<i128>>::Output>
source§impl CheckedDiv<i16> for PreciseDecimal
impl CheckedDiv<i16> for PreciseDecimal
type Output = PreciseDecimal
fn checked_div( self, other: i16 ) -> Option<<PreciseDecimal as CheckedDiv<i16>>::Output>
source§impl CheckedDiv<i32> for PreciseDecimal
impl CheckedDiv<i32> for PreciseDecimal
type Output = PreciseDecimal
fn checked_div( self, other: i32 ) -> Option<<PreciseDecimal as CheckedDiv<i32>>::Output>
source§impl CheckedDiv<i64> for PreciseDecimal
impl CheckedDiv<i64> for PreciseDecimal
type Output = PreciseDecimal
fn checked_div( self, other: i64 ) -> Option<<PreciseDecimal as CheckedDiv<i64>>::Output>
source§impl CheckedDiv<i8> for PreciseDecimal
impl CheckedDiv<i8> for PreciseDecimal
type Output = PreciseDecimal
fn checked_div( self, other: i8 ) -> Option<<PreciseDecimal as CheckedDiv<i8>>::Output>
source§impl CheckedDiv<isize> for PreciseDecimal
impl CheckedDiv<isize> for PreciseDecimal
type Output = PreciseDecimal
fn checked_div( self, other: isize ) -> Option<<PreciseDecimal as CheckedDiv<isize>>::Output>
source§impl CheckedDiv<u128> for PreciseDecimal
impl CheckedDiv<u128> for PreciseDecimal
type Output = PreciseDecimal
fn checked_div( self, other: u128 ) -> Option<<PreciseDecimal as CheckedDiv<u128>>::Output>
source§impl CheckedDiv<u16> for PreciseDecimal
impl CheckedDiv<u16> for PreciseDecimal
type Output = PreciseDecimal
fn checked_div( self, other: u16 ) -> Option<<PreciseDecimal as CheckedDiv<u16>>::Output>
source§impl CheckedDiv<u32> for PreciseDecimal
impl CheckedDiv<u32> for PreciseDecimal
type Output = PreciseDecimal
fn checked_div( self, other: u32 ) -> Option<<PreciseDecimal as CheckedDiv<u32>>::Output>
source§impl CheckedDiv<u64> for PreciseDecimal
impl CheckedDiv<u64> for PreciseDecimal
type Output = PreciseDecimal
fn checked_div( self, other: u64 ) -> Option<<PreciseDecimal as CheckedDiv<u64>>::Output>
source§impl CheckedDiv<u8> for PreciseDecimal
impl CheckedDiv<u8> for PreciseDecimal
type Output = PreciseDecimal
fn checked_div( self, other: u8 ) -> Option<<PreciseDecimal as CheckedDiv<u8>>::Output>
source§impl CheckedDiv<usize> for PreciseDecimal
impl CheckedDiv<usize> for PreciseDecimal
type Output = PreciseDecimal
fn checked_div( self, other: usize ) -> Option<<PreciseDecimal as CheckedDiv<usize>>::Output>
source§impl CheckedMul<Decimal> for PreciseDecimal
impl CheckedMul<Decimal> for PreciseDecimal
type Output = PreciseDecimal
fn checked_mul( self, other: Decimal ) -> Option<<PreciseDecimal as CheckedMul<Decimal>>::Output>
source§impl CheckedMul<I192> for PreciseDecimal
impl CheckedMul<I192> for PreciseDecimal
type Output = PreciseDecimal
fn checked_mul( self, other: I192 ) -> Option<<PreciseDecimal as CheckedMul<I192>>::Output>
source§impl CheckedMul<I256> for PreciseDecimal
impl CheckedMul<I256> for PreciseDecimal
type Output = PreciseDecimal
fn checked_mul( self, other: I256 ) -> Option<<PreciseDecimal as CheckedMul<I256>>::Output>
source§impl CheckedMul<I320> for PreciseDecimal
impl CheckedMul<I320> for PreciseDecimal
type Output = PreciseDecimal
fn checked_mul( self, other: I320 ) -> Option<<PreciseDecimal as CheckedMul<I320>>::Output>
source§impl CheckedMul<I448> for PreciseDecimal
impl CheckedMul<I448> for PreciseDecimal
type Output = PreciseDecimal
fn checked_mul( self, other: I448 ) -> Option<<PreciseDecimal as CheckedMul<I448>>::Output>
source§impl CheckedMul<I512> for PreciseDecimal
impl CheckedMul<I512> for PreciseDecimal
type Output = PreciseDecimal
fn checked_mul( self, other: I512 ) -> Option<<PreciseDecimal as CheckedMul<I512>>::Output>
source§impl CheckedMul<PreciseDecimal> for Decimal
impl CheckedMul<PreciseDecimal> for Decimal
type Output = PreciseDecimal
fn checked_mul( self, other: PreciseDecimal ) -> Option<<Decimal as CheckedMul<PreciseDecimal>>::Output>
source§impl CheckedMul<PreciseDecimal> for I192
impl CheckedMul<PreciseDecimal> for I192
type Output = PreciseDecimal
fn checked_mul( self, other: PreciseDecimal ) -> Option<<I192 as CheckedMul<PreciseDecimal>>::Output>
source§impl CheckedMul<PreciseDecimal> for I256
impl CheckedMul<PreciseDecimal> for I256
type Output = PreciseDecimal
fn checked_mul( self, other: PreciseDecimal ) -> Option<<I256 as CheckedMul<PreciseDecimal>>::Output>
source§impl CheckedMul<PreciseDecimal> for I320
impl CheckedMul<PreciseDecimal> for I320
type Output = PreciseDecimal
fn checked_mul( self, other: PreciseDecimal ) -> Option<<I320 as CheckedMul<PreciseDecimal>>::Output>
source§impl CheckedMul<PreciseDecimal> for I448
impl CheckedMul<PreciseDecimal> for I448
type Output = PreciseDecimal
fn checked_mul( self, other: PreciseDecimal ) -> Option<<I448 as CheckedMul<PreciseDecimal>>::Output>
source§impl CheckedMul<PreciseDecimal> for I512
impl CheckedMul<PreciseDecimal> for I512
type Output = PreciseDecimal
fn checked_mul( self, other: PreciseDecimal ) -> Option<<I512 as CheckedMul<PreciseDecimal>>::Output>
source§impl CheckedMul<PreciseDecimal> for PreciseDecimal
impl CheckedMul<PreciseDecimal> for PreciseDecimal
type Output = PreciseDecimal
fn checked_mul(self, other: PreciseDecimal) -> Option<PreciseDecimal>
source§impl CheckedMul<PreciseDecimal> for U192
impl CheckedMul<PreciseDecimal> for U192
type Output = PreciseDecimal
fn checked_mul( self, other: PreciseDecimal ) -> Option<<U192 as CheckedMul<PreciseDecimal>>::Output>
source§impl CheckedMul<PreciseDecimal> for U256
impl CheckedMul<PreciseDecimal> for U256
type Output = PreciseDecimal
fn checked_mul( self, other: PreciseDecimal ) -> Option<<U256 as CheckedMul<PreciseDecimal>>::Output>
source§impl CheckedMul<PreciseDecimal> for U320
impl CheckedMul<PreciseDecimal> for U320
type Output = PreciseDecimal
fn checked_mul( self, other: PreciseDecimal ) -> Option<<U320 as CheckedMul<PreciseDecimal>>::Output>
source§impl CheckedMul<PreciseDecimal> for U448
impl CheckedMul<PreciseDecimal> for U448
type Output = PreciseDecimal
fn checked_mul( self, other: PreciseDecimal ) -> Option<<U448 as CheckedMul<PreciseDecimal>>::Output>
source§impl CheckedMul<PreciseDecimal> for U512
impl CheckedMul<PreciseDecimal> for U512
type Output = PreciseDecimal
fn checked_mul( self, other: PreciseDecimal ) -> Option<<U512 as CheckedMul<PreciseDecimal>>::Output>
source§impl CheckedMul<U192> for PreciseDecimal
impl CheckedMul<U192> for PreciseDecimal
type Output = PreciseDecimal
fn checked_mul( self, other: U192 ) -> Option<<PreciseDecimal as CheckedMul<U192>>::Output>
source§impl CheckedMul<U256> for PreciseDecimal
impl CheckedMul<U256> for PreciseDecimal
type Output = PreciseDecimal
fn checked_mul( self, other: U256 ) -> Option<<PreciseDecimal as CheckedMul<U256>>::Output>
source§impl CheckedMul<U320> for PreciseDecimal
impl CheckedMul<U320> for PreciseDecimal
type Output = PreciseDecimal
fn checked_mul( self, other: U320 ) -> Option<<PreciseDecimal as CheckedMul<U320>>::Output>
source§impl CheckedMul<U448> for PreciseDecimal
impl CheckedMul<U448> for PreciseDecimal
type Output = PreciseDecimal
fn checked_mul( self, other: U448 ) -> Option<<PreciseDecimal as CheckedMul<U448>>::Output>
source§impl CheckedMul<U512> for PreciseDecimal
impl CheckedMul<U512> for PreciseDecimal
type Output = PreciseDecimal
fn checked_mul( self, other: U512 ) -> Option<<PreciseDecimal as CheckedMul<U512>>::Output>
source§impl CheckedMul<i128> for PreciseDecimal
impl CheckedMul<i128> for PreciseDecimal
type Output = PreciseDecimal
fn checked_mul( self, other: i128 ) -> Option<<PreciseDecimal as CheckedMul<i128>>::Output>
source§impl CheckedMul<i16> for PreciseDecimal
impl CheckedMul<i16> for PreciseDecimal
type Output = PreciseDecimal
fn checked_mul( self, other: i16 ) -> Option<<PreciseDecimal as CheckedMul<i16>>::Output>
source§impl CheckedMul<i32> for PreciseDecimal
impl CheckedMul<i32> for PreciseDecimal
type Output = PreciseDecimal
fn checked_mul( self, other: i32 ) -> Option<<PreciseDecimal as CheckedMul<i32>>::Output>
source§impl CheckedMul<i64> for PreciseDecimal
impl CheckedMul<i64> for PreciseDecimal
type Output = PreciseDecimal
fn checked_mul( self, other: i64 ) -> Option<<PreciseDecimal as CheckedMul<i64>>::Output>
source§impl CheckedMul<i8> for PreciseDecimal
impl CheckedMul<i8> for PreciseDecimal
type Output = PreciseDecimal
fn checked_mul( self, other: i8 ) -> Option<<PreciseDecimal as CheckedMul<i8>>::Output>
source§impl CheckedMul<isize> for PreciseDecimal
impl CheckedMul<isize> for PreciseDecimal
type Output = PreciseDecimal
fn checked_mul( self, other: isize ) -> Option<<PreciseDecimal as CheckedMul<isize>>::Output>
source§impl CheckedMul<u128> for PreciseDecimal
impl CheckedMul<u128> for PreciseDecimal
type Output = PreciseDecimal
fn checked_mul( self, other: u128 ) -> Option<<PreciseDecimal as CheckedMul<u128>>::Output>
source§impl CheckedMul<u16> for PreciseDecimal
impl CheckedMul<u16> for PreciseDecimal
type Output = PreciseDecimal
fn checked_mul( self, other: u16 ) -> Option<<PreciseDecimal as CheckedMul<u16>>::Output>
source§impl CheckedMul<u32> for PreciseDecimal
impl CheckedMul<u32> for PreciseDecimal
type Output = PreciseDecimal
fn checked_mul( self, other: u32 ) -> Option<<PreciseDecimal as CheckedMul<u32>>::Output>
source§impl CheckedMul<u64> for PreciseDecimal
impl CheckedMul<u64> for PreciseDecimal
type Output = PreciseDecimal
fn checked_mul( self, other: u64 ) -> Option<<PreciseDecimal as CheckedMul<u64>>::Output>
source§impl CheckedMul<u8> for PreciseDecimal
impl CheckedMul<u8> for PreciseDecimal
type Output = PreciseDecimal
fn checked_mul( self, other: u8 ) -> Option<<PreciseDecimal as CheckedMul<u8>>::Output>
source§impl CheckedMul<usize> for PreciseDecimal
impl CheckedMul<usize> for PreciseDecimal
type Output = PreciseDecimal
fn checked_mul( self, other: usize ) -> Option<<PreciseDecimal as CheckedMul<usize>>::Output>
source§impl CheckedNeg<PreciseDecimal> for PreciseDecimal
impl CheckedNeg<PreciseDecimal> for PreciseDecimal
type Output = PreciseDecimal
fn checked_neg( self ) -> Option<<PreciseDecimal as CheckedNeg<PreciseDecimal>>::Output>
source§impl CheckedSub<Decimal> for PreciseDecimal
impl CheckedSub<Decimal> for PreciseDecimal
type Output = PreciseDecimal
fn checked_sub( self, other: Decimal ) -> Option<<PreciseDecimal as CheckedSub<Decimal>>::Output>
source§impl CheckedSub<I192> for PreciseDecimal
impl CheckedSub<I192> for PreciseDecimal
type Output = PreciseDecimal
fn checked_sub( self, other: I192 ) -> Option<<PreciseDecimal as CheckedSub<I192>>::Output>
source§impl CheckedSub<I256> for PreciseDecimal
impl CheckedSub<I256> for PreciseDecimal
type Output = PreciseDecimal
fn checked_sub( self, other: I256 ) -> Option<<PreciseDecimal as CheckedSub<I256>>::Output>
source§impl CheckedSub<I320> for PreciseDecimal
impl CheckedSub<I320> for PreciseDecimal
type Output = PreciseDecimal
fn checked_sub( self, other: I320 ) -> Option<<PreciseDecimal as CheckedSub<I320>>::Output>
source§impl CheckedSub<I448> for PreciseDecimal
impl CheckedSub<I448> for PreciseDecimal
type Output = PreciseDecimal
fn checked_sub( self, other: I448 ) -> Option<<PreciseDecimal as CheckedSub<I448>>::Output>
source§impl CheckedSub<I512> for PreciseDecimal
impl CheckedSub<I512> for PreciseDecimal
type Output = PreciseDecimal
fn checked_sub( self, other: I512 ) -> Option<<PreciseDecimal as CheckedSub<I512>>::Output>
source§impl CheckedSub<PreciseDecimal> for Decimal
impl CheckedSub<PreciseDecimal> for Decimal
type Output = PreciseDecimal
fn checked_sub( self, other: PreciseDecimal ) -> Option<<Decimal as CheckedSub<PreciseDecimal>>::Output>
source§impl CheckedSub<PreciseDecimal> for I192
impl CheckedSub<PreciseDecimal> for I192
type Output = PreciseDecimal
fn checked_sub( self, other: PreciseDecimal ) -> Option<<I192 as CheckedSub<PreciseDecimal>>::Output>
source§impl CheckedSub<PreciseDecimal> for I256
impl CheckedSub<PreciseDecimal> for I256
type Output = PreciseDecimal
fn checked_sub( self, other: PreciseDecimal ) -> Option<<I256 as CheckedSub<PreciseDecimal>>::Output>
source§impl CheckedSub<PreciseDecimal> for I320
impl CheckedSub<PreciseDecimal> for I320
type Output = PreciseDecimal
fn checked_sub( self, other: PreciseDecimal ) -> Option<<I320 as CheckedSub<PreciseDecimal>>::Output>
source§impl CheckedSub<PreciseDecimal> for I448
impl CheckedSub<PreciseDecimal> for I448
type Output = PreciseDecimal
fn checked_sub( self, other: PreciseDecimal ) -> Option<<I448 as CheckedSub<PreciseDecimal>>::Output>
source§impl CheckedSub<PreciseDecimal> for I512
impl CheckedSub<PreciseDecimal> for I512
type Output = PreciseDecimal
fn checked_sub( self, other: PreciseDecimal ) -> Option<<I512 as CheckedSub<PreciseDecimal>>::Output>
source§impl CheckedSub<PreciseDecimal> for PreciseDecimal
impl CheckedSub<PreciseDecimal> for PreciseDecimal
type Output = PreciseDecimal
fn checked_sub( self, other: PreciseDecimal ) -> Option<<PreciseDecimal as CheckedSub<PreciseDecimal>>::Output>
source§impl CheckedSub<PreciseDecimal> for U192
impl CheckedSub<PreciseDecimal> for U192
type Output = PreciseDecimal
fn checked_sub( self, other: PreciseDecimal ) -> Option<<U192 as CheckedSub<PreciseDecimal>>::Output>
source§impl CheckedSub<PreciseDecimal> for U256
impl CheckedSub<PreciseDecimal> for U256
type Output = PreciseDecimal
fn checked_sub( self, other: PreciseDecimal ) -> Option<<U256 as CheckedSub<PreciseDecimal>>::Output>
source§impl CheckedSub<PreciseDecimal> for U320
impl CheckedSub<PreciseDecimal> for U320
type Output = PreciseDecimal
fn checked_sub( self, other: PreciseDecimal ) -> Option<<U320 as CheckedSub<PreciseDecimal>>::Output>
source§impl CheckedSub<PreciseDecimal> for U448
impl CheckedSub<PreciseDecimal> for U448
type Output = PreciseDecimal
fn checked_sub( self, other: PreciseDecimal ) -> Option<<U448 as CheckedSub<PreciseDecimal>>::Output>
source§impl CheckedSub<PreciseDecimal> for U512
impl CheckedSub<PreciseDecimal> for U512
type Output = PreciseDecimal
fn checked_sub( self, other: PreciseDecimal ) -> Option<<U512 as CheckedSub<PreciseDecimal>>::Output>
source§impl CheckedSub<U192> for PreciseDecimal
impl CheckedSub<U192> for PreciseDecimal
type Output = PreciseDecimal
fn checked_sub( self, other: U192 ) -> Option<<PreciseDecimal as CheckedSub<U192>>::Output>
source§impl CheckedSub<U256> for PreciseDecimal
impl CheckedSub<U256> for PreciseDecimal
type Output = PreciseDecimal
fn checked_sub( self, other: U256 ) -> Option<<PreciseDecimal as CheckedSub<U256>>::Output>
source§impl CheckedSub<U320> for PreciseDecimal
impl CheckedSub<U320> for PreciseDecimal
type Output = PreciseDecimal
fn checked_sub( self, other: U320 ) -> Option<<PreciseDecimal as CheckedSub<U320>>::Output>
source§impl CheckedSub<U448> for PreciseDecimal
impl CheckedSub<U448> for PreciseDecimal
type Output = PreciseDecimal
fn checked_sub( self, other: U448 ) -> Option<<PreciseDecimal as CheckedSub<U448>>::Output>
source§impl CheckedSub<U512> for PreciseDecimal
impl CheckedSub<U512> for PreciseDecimal
type Output = PreciseDecimal
fn checked_sub( self, other: U512 ) -> Option<<PreciseDecimal as CheckedSub<U512>>::Output>
source§impl CheckedSub<i128> for PreciseDecimal
impl CheckedSub<i128> for PreciseDecimal
type Output = PreciseDecimal
fn checked_sub( self, other: i128 ) -> Option<<PreciseDecimal as CheckedSub<i128>>::Output>
source§impl CheckedSub<i16> for PreciseDecimal
impl CheckedSub<i16> for PreciseDecimal
type Output = PreciseDecimal
fn checked_sub( self, other: i16 ) -> Option<<PreciseDecimal as CheckedSub<i16>>::Output>
source§impl CheckedSub<i32> for PreciseDecimal
impl CheckedSub<i32> for PreciseDecimal
type Output = PreciseDecimal
fn checked_sub( self, other: i32 ) -> Option<<PreciseDecimal as CheckedSub<i32>>::Output>
source§impl CheckedSub<i64> for PreciseDecimal
impl CheckedSub<i64> for PreciseDecimal
type Output = PreciseDecimal
fn checked_sub( self, other: i64 ) -> Option<<PreciseDecimal as CheckedSub<i64>>::Output>
source§impl CheckedSub<i8> for PreciseDecimal
impl CheckedSub<i8> for PreciseDecimal
type Output = PreciseDecimal
fn checked_sub( self, other: i8 ) -> Option<<PreciseDecimal as CheckedSub<i8>>::Output>
source§impl CheckedSub<isize> for PreciseDecimal
impl CheckedSub<isize> for PreciseDecimal
type Output = PreciseDecimal
fn checked_sub( self, other: isize ) -> Option<<PreciseDecimal as CheckedSub<isize>>::Output>
source§impl CheckedSub<u128> for PreciseDecimal
impl CheckedSub<u128> for PreciseDecimal
type Output = PreciseDecimal
fn checked_sub( self, other: u128 ) -> Option<<PreciseDecimal as CheckedSub<u128>>::Output>
source§impl CheckedSub<u16> for PreciseDecimal
impl CheckedSub<u16> for PreciseDecimal
type Output = PreciseDecimal
fn checked_sub( self, other: u16 ) -> Option<<PreciseDecimal as CheckedSub<u16>>::Output>
source§impl CheckedSub<u32> for PreciseDecimal
impl CheckedSub<u32> for PreciseDecimal
type Output = PreciseDecimal
fn checked_sub( self, other: u32 ) -> Option<<PreciseDecimal as CheckedSub<u32>>::Output>
source§impl CheckedSub<u64> for PreciseDecimal
impl CheckedSub<u64> for PreciseDecimal
type Output = PreciseDecimal
fn checked_sub( self, other: u64 ) -> Option<<PreciseDecimal as CheckedSub<u64>>::Output>
source§impl CheckedSub<u8> for PreciseDecimal
impl CheckedSub<u8> for PreciseDecimal
type Output = PreciseDecimal
fn checked_sub( self, other: u8 ) -> Option<<PreciseDecimal as CheckedSub<u8>>::Output>
source§impl CheckedSub<usize> for PreciseDecimal
impl CheckedSub<usize> for PreciseDecimal
type Output = PreciseDecimal
fn checked_sub( self, other: usize ) -> Option<<PreciseDecimal as CheckedSub<usize>>::Output>
source§impl CheckedTruncate<Decimal> for PreciseDecimal
impl CheckedTruncate<Decimal> for PreciseDecimal
type Output = Decimal
fn checked_truncate( self, mode: RoundingMode ) -> Option<<PreciseDecimal as CheckedTruncate<Decimal>>::Output>
source§impl Clone for PreciseDecimal
impl Clone for PreciseDecimal
source§fn clone(&self) -> PreciseDecimal
fn clone(&self) -> PreciseDecimal
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PreciseDecimal
impl Debug for PreciseDecimal
source§impl<D> Decode<ManifestCustomValueKind, D> for PreciseDecimalwhere
D: Decoder<ManifestCustomValueKind>,
impl<D> Decode<ManifestCustomValueKind, D> for PreciseDecimalwhere D: Decoder<ManifestCustomValueKind>,
source§fn decode_body_with_value_kind(
decoder: &mut D,
value_kind: ValueKind<ManifestCustomValueKind>
) -> Result<PreciseDecimal, DecodeError>
fn decode_body_with_value_kind( decoder: &mut D, value_kind: ValueKind<ManifestCustomValueKind> ) -> Result<PreciseDecimal, DecodeError>
source§impl<D> Decode<ScryptoCustomValueKind, D> for PreciseDecimalwhere
D: Decoder<ScryptoCustomValueKind>,
impl<D> Decode<ScryptoCustomValueKind, D> for PreciseDecimalwhere D: Decoder<ScryptoCustomValueKind>,
source§fn decode_body_with_value_kind(
decoder: &mut D,
value_kind: ValueKind<ScryptoCustomValueKind>
) -> Result<PreciseDecimal, DecodeError>
fn decode_body_with_value_kind( decoder: &mut D, value_kind: ValueKind<ScryptoCustomValueKind> ) -> Result<PreciseDecimal, DecodeError>
source§impl Default for PreciseDecimal
impl Default for PreciseDecimal
source§fn default() -> PreciseDecimal
fn default() -> PreciseDecimal
source§impl Describe<ScryptoCustomTypeKind> for PreciseDecimal
impl Describe<ScryptoCustomTypeKind> for PreciseDecimal
source§const TYPE_ID: RustTypeId = sbor::RustTypeId::WellKnown(crate::data::scrypto::well_known_scrypto_custom_types::PRECISE_DECIMAL_TYPE)
const TYPE_ID: RustTypeId = sbor::RustTypeId::WellKnown(crate::data::scrypto::well_known_scrypto_custom_types::PRECISE_DECIMAL_TYPE)
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 moresource§fn type_data() -> TypeData<ScryptoCustomTypeKind, RustTypeId>
fn type_data() -> TypeData<ScryptoCustomTypeKind, RustTypeId>
source§fn add_all_dependencies(aggregator: &mut TypeAggregator<C>)
fn add_all_dependencies(aggregator: &mut TypeAggregator<C>)
get_local_type_data
, we need to ensure that the type and all of its own references
get added to the aggregator. Read moresource§impl Display for PreciseDecimal
impl Display for PreciseDecimal
source§impl Div<Decimal> for PreciseDecimal
impl Div<Decimal> for PreciseDecimal
source§impl Div<I192> for PreciseDecimal
impl Div<I192> for PreciseDecimal
source§impl Div<I256> for PreciseDecimal
impl Div<I256> for PreciseDecimal
source§impl Div<I320> for PreciseDecimal
impl Div<I320> for PreciseDecimal
source§impl Div<I448> for PreciseDecimal
impl Div<I448> for PreciseDecimal
source§impl Div<I512> for PreciseDecimal
impl Div<I512> for PreciseDecimal
source§impl Div<PreciseDecimal> for Decimal
impl Div<PreciseDecimal> for Decimal
§type Output = PreciseDecimal
type Output = PreciseDecimal
/
operator.source§fn div(self, other: PreciseDecimal) -> <Decimal as Div<PreciseDecimal>>::Output
fn div(self, other: PreciseDecimal) -> <Decimal as Div<PreciseDecimal>>::Output
/
operation. Read moresource§impl Div<PreciseDecimal> for I192
impl Div<PreciseDecimal> for I192
§type Output = PreciseDecimal
type Output = PreciseDecimal
/
operator.source§fn div(self, other: PreciseDecimal) -> <I192 as Div<PreciseDecimal>>::Output
fn div(self, other: PreciseDecimal) -> <I192 as Div<PreciseDecimal>>::Output
/
operation. Read moresource§impl Div<PreciseDecimal> for I256
impl Div<PreciseDecimal> for I256
§type Output = PreciseDecimal
type Output = PreciseDecimal
/
operator.source§fn div(self, other: PreciseDecimal) -> <I256 as Div<PreciseDecimal>>::Output
fn div(self, other: PreciseDecimal) -> <I256 as Div<PreciseDecimal>>::Output
/
operation. Read moresource§impl Div<PreciseDecimal> for I320
impl Div<PreciseDecimal> for I320
§type Output = PreciseDecimal
type Output = PreciseDecimal
/
operator.source§fn div(self, other: PreciseDecimal) -> <I320 as Div<PreciseDecimal>>::Output
fn div(self, other: PreciseDecimal) -> <I320 as Div<PreciseDecimal>>::Output
/
operation. Read moresource§impl Div<PreciseDecimal> for I448
impl Div<PreciseDecimal> for I448
§type Output = PreciseDecimal
type Output = PreciseDecimal
/
operator.source§fn div(self, other: PreciseDecimal) -> <I448 as Div<PreciseDecimal>>::Output
fn div(self, other: PreciseDecimal) -> <I448 as Div<PreciseDecimal>>::Output
/
operation. Read moresource§impl Div<PreciseDecimal> for I512
impl Div<PreciseDecimal> for I512
§type Output = PreciseDecimal
type Output = PreciseDecimal
/
operator.source§fn div(self, other: PreciseDecimal) -> <I512 as Div<PreciseDecimal>>::Output
fn div(self, other: PreciseDecimal) -> <I512 as Div<PreciseDecimal>>::Output
/
operation. Read moresource§impl Div<PreciseDecimal> for PreciseDecimal
impl Div<PreciseDecimal> for PreciseDecimal
§type Output = PreciseDecimal
type Output = PreciseDecimal
/
operator.source§fn div(
self,
other: PreciseDecimal
) -> <PreciseDecimal as Div<PreciseDecimal>>::Output
fn div( self, other: PreciseDecimal ) -> <PreciseDecimal as Div<PreciseDecimal>>::Output
/
operation. Read moresource§impl Div<PreciseDecimal> for U192
impl Div<PreciseDecimal> for U192
§type Output = PreciseDecimal
type Output = PreciseDecimal
/
operator.source§fn div(self, other: PreciseDecimal) -> <U192 as Div<PreciseDecimal>>::Output
fn div(self, other: PreciseDecimal) -> <U192 as Div<PreciseDecimal>>::Output
/
operation. Read moresource§impl Div<PreciseDecimal> for U256
impl Div<PreciseDecimal> for U256
§type Output = PreciseDecimal
type Output = PreciseDecimal
/
operator.source§fn div(self, other: PreciseDecimal) -> <U256 as Div<PreciseDecimal>>::Output
fn div(self, other: PreciseDecimal) -> <U256 as Div<PreciseDecimal>>::Output
/
operation. Read moresource§impl Div<PreciseDecimal> for U320
impl Div<PreciseDecimal> for U320
§type Output = PreciseDecimal
type Output = PreciseDecimal
/
operator.source§fn div(self, other: PreciseDecimal) -> <U320 as Div<PreciseDecimal>>::Output
fn div(self, other: PreciseDecimal) -> <U320 as Div<PreciseDecimal>>::Output
/
operation. Read moresource§impl Div<PreciseDecimal> for U448
impl Div<PreciseDecimal> for U448
§type Output = PreciseDecimal
type Output = PreciseDecimal
/
operator.source§fn div(self, other: PreciseDecimal) -> <U448 as Div<PreciseDecimal>>::Output
fn div(self, other: PreciseDecimal) -> <U448 as Div<PreciseDecimal>>::Output
/
operation. Read moresource§impl Div<PreciseDecimal> for U512
impl Div<PreciseDecimal> for U512
§type Output = PreciseDecimal
type Output = PreciseDecimal
/
operator.source§fn div(self, other: PreciseDecimal) -> <U512 as Div<PreciseDecimal>>::Output
fn div(self, other: PreciseDecimal) -> <U512 as Div<PreciseDecimal>>::Output
/
operation. Read moresource§impl Div<PreciseDecimal> for i128
impl Div<PreciseDecimal> for i128
§type Output = PreciseDecimal
type Output = PreciseDecimal
/
operator.source§fn div(self, other: PreciseDecimal) -> <i128 as Div<PreciseDecimal>>::Output
fn div(self, other: PreciseDecimal) -> <i128 as Div<PreciseDecimal>>::Output
/
operation. Read moresource§impl Div<PreciseDecimal> for i16
impl Div<PreciseDecimal> for i16
§type Output = PreciseDecimal
type Output = PreciseDecimal
/
operator.source§fn div(self, other: PreciseDecimal) -> <i16 as Div<PreciseDecimal>>::Output
fn div(self, other: PreciseDecimal) -> <i16 as Div<PreciseDecimal>>::Output
/
operation. Read moresource§impl Div<PreciseDecimal> for i32
impl Div<PreciseDecimal> for i32
§type Output = PreciseDecimal
type Output = PreciseDecimal
/
operator.source§fn div(self, other: PreciseDecimal) -> <i32 as Div<PreciseDecimal>>::Output
fn div(self, other: PreciseDecimal) -> <i32 as Div<PreciseDecimal>>::Output
/
operation. Read moresource§impl Div<PreciseDecimal> for i64
impl Div<PreciseDecimal> for i64
§type Output = PreciseDecimal
type Output = PreciseDecimal
/
operator.source§fn div(self, other: PreciseDecimal) -> <i64 as Div<PreciseDecimal>>::Output
fn div(self, other: PreciseDecimal) -> <i64 as Div<PreciseDecimal>>::Output
/
operation. Read moresource§impl Div<PreciseDecimal> for i8
impl Div<PreciseDecimal> for i8
§type Output = PreciseDecimal
type Output = PreciseDecimal
/
operator.source§fn div(self, other: PreciseDecimal) -> <i8 as Div<PreciseDecimal>>::Output
fn div(self, other: PreciseDecimal) -> <i8 as Div<PreciseDecimal>>::Output
/
operation. Read moresource§impl Div<PreciseDecimal> for isize
impl Div<PreciseDecimal> for isize
§type Output = PreciseDecimal
type Output = PreciseDecimal
/
operator.source§fn div(self, other: PreciseDecimal) -> <isize as Div<PreciseDecimal>>::Output
fn div(self, other: PreciseDecimal) -> <isize as Div<PreciseDecimal>>::Output
/
operation. Read moresource§impl Div<PreciseDecimal> for u128
impl Div<PreciseDecimal> for u128
§type Output = PreciseDecimal
type Output = PreciseDecimal
/
operator.source§fn div(self, other: PreciseDecimal) -> <u128 as Div<PreciseDecimal>>::Output
fn div(self, other: PreciseDecimal) -> <u128 as Div<PreciseDecimal>>::Output
/
operation. Read moresource§impl Div<PreciseDecimal> for u16
impl Div<PreciseDecimal> for u16
§type Output = PreciseDecimal
type Output = PreciseDecimal
/
operator.source§fn div(self, other: PreciseDecimal) -> <u16 as Div<PreciseDecimal>>::Output
fn div(self, other: PreciseDecimal) -> <u16 as Div<PreciseDecimal>>::Output
/
operation. Read moresource§impl Div<PreciseDecimal> for u32
impl Div<PreciseDecimal> for u32
§type Output = PreciseDecimal
type Output = PreciseDecimal
/
operator.source§fn div(self, other: PreciseDecimal) -> <u32 as Div<PreciseDecimal>>::Output
fn div(self, other: PreciseDecimal) -> <u32 as Div<PreciseDecimal>>::Output
/
operation. Read moresource§impl Div<PreciseDecimal> for u64
impl Div<PreciseDecimal> for u64
§type Output = PreciseDecimal
type Output = PreciseDecimal
/
operator.source§fn div(self, other: PreciseDecimal) -> <u64 as Div<PreciseDecimal>>::Output
fn div(self, other: PreciseDecimal) -> <u64 as Div<PreciseDecimal>>::Output
/
operation. Read moresource§impl Div<PreciseDecimal> for u8
impl Div<PreciseDecimal> for u8
§type Output = PreciseDecimal
type Output = PreciseDecimal
/
operator.source§fn div(self, other: PreciseDecimal) -> <u8 as Div<PreciseDecimal>>::Output
fn div(self, other: PreciseDecimal) -> <u8 as Div<PreciseDecimal>>::Output
/
operation. Read moresource§impl Div<PreciseDecimal> for usize
impl Div<PreciseDecimal> for usize
§type Output = PreciseDecimal
type Output = PreciseDecimal
/
operator.source§fn div(self, other: PreciseDecimal) -> <usize as Div<PreciseDecimal>>::Output
fn div(self, other: PreciseDecimal) -> <usize as Div<PreciseDecimal>>::Output
/
operation. Read moresource§impl Div<U192> for PreciseDecimal
impl Div<U192> for PreciseDecimal
source§impl Div<U256> for PreciseDecimal
impl Div<U256> for PreciseDecimal
source§impl Div<U320> for PreciseDecimal
impl Div<U320> for PreciseDecimal
source§impl Div<U448> for PreciseDecimal
impl Div<U448> for PreciseDecimal
source§impl Div<U512> for PreciseDecimal
impl Div<U512> for PreciseDecimal
source§impl Div<i128> for PreciseDecimal
impl Div<i128> for PreciseDecimal
source§impl Div<i16> for PreciseDecimal
impl Div<i16> for PreciseDecimal
source§impl Div<i32> for PreciseDecimal
impl Div<i32> for PreciseDecimal
source§impl Div<i64> for PreciseDecimal
impl Div<i64> for PreciseDecimal
source§impl Div<i8> for PreciseDecimal
impl Div<i8> for PreciseDecimal
source§impl Div<isize> for PreciseDecimal
impl Div<isize> for PreciseDecimal
source§impl Div<u128> for PreciseDecimal
impl Div<u128> for PreciseDecimal
source§impl Div<u16> for PreciseDecimal
impl Div<u16> for PreciseDecimal
source§impl Div<u32> for PreciseDecimal
impl Div<u32> for PreciseDecimal
source§impl Div<u64> for PreciseDecimal
impl Div<u64> for PreciseDecimal
source§impl Div<u8> for PreciseDecimal
impl Div<u8> for PreciseDecimal
source§impl Div<usize> for PreciseDecimal
impl Div<usize> for PreciseDecimal
source§impl DivAssign<Decimal> for PreciseDecimal
impl DivAssign<Decimal> for PreciseDecimal
source§fn div_assign(&mut self, other: Decimal)
fn div_assign(&mut self, other: Decimal)
/=
operation. Read moresource§impl DivAssign<I192> for PreciseDecimal
impl DivAssign<I192> for PreciseDecimal
source§fn div_assign(&mut self, other: I192)
fn div_assign(&mut self, other: I192)
/=
operation. Read moresource§impl DivAssign<I256> for PreciseDecimal
impl DivAssign<I256> for PreciseDecimal
source§fn div_assign(&mut self, other: I256)
fn div_assign(&mut self, other: I256)
/=
operation. Read moresource§impl DivAssign<I320> for PreciseDecimal
impl DivAssign<I320> for PreciseDecimal
source§fn div_assign(&mut self, other: I320)
fn div_assign(&mut self, other: I320)
/=
operation. Read moresource§impl DivAssign<I448> for PreciseDecimal
impl DivAssign<I448> for PreciseDecimal
source§fn div_assign(&mut self, other: I448)
fn div_assign(&mut self, other: I448)
/=
operation. Read moresource§impl DivAssign<I512> for PreciseDecimal
impl DivAssign<I512> for PreciseDecimal
source§fn div_assign(&mut self, other: I512)
fn div_assign(&mut self, other: I512)
/=
operation. Read moresource§impl DivAssign<PreciseDecimal> for PreciseDecimal
impl DivAssign<PreciseDecimal> for PreciseDecimal
source§fn div_assign(&mut self, other: PreciseDecimal)
fn div_assign(&mut self, other: PreciseDecimal)
/=
operation. Read moresource§impl DivAssign<U192> for PreciseDecimal
impl DivAssign<U192> for PreciseDecimal
source§fn div_assign(&mut self, other: U192)
fn div_assign(&mut self, other: U192)
/=
operation. Read moresource§impl DivAssign<U256> for PreciseDecimal
impl DivAssign<U256> for PreciseDecimal
source§fn div_assign(&mut self, other: U256)
fn div_assign(&mut self, other: U256)
/=
operation. Read moresource§impl DivAssign<U320> for PreciseDecimal
impl DivAssign<U320> for PreciseDecimal
source§fn div_assign(&mut self, other: U320)
fn div_assign(&mut self, other: U320)
/=
operation. Read moresource§impl DivAssign<U448> for PreciseDecimal
impl DivAssign<U448> for PreciseDecimal
source§fn div_assign(&mut self, other: U448)
fn div_assign(&mut self, other: U448)
/=
operation. Read moresource§impl DivAssign<U512> for PreciseDecimal
impl DivAssign<U512> for PreciseDecimal
source§fn div_assign(&mut self, other: U512)
fn div_assign(&mut self, other: U512)
/=
operation. Read moresource§impl DivAssign<i128> for PreciseDecimal
impl DivAssign<i128> for PreciseDecimal
source§fn div_assign(&mut self, other: i128)
fn div_assign(&mut self, other: i128)
/=
operation. Read moresource§impl DivAssign<i16> for PreciseDecimal
impl DivAssign<i16> for PreciseDecimal
source§fn div_assign(&mut self, other: i16)
fn div_assign(&mut self, other: i16)
/=
operation. Read moresource§impl DivAssign<i32> for PreciseDecimal
impl DivAssign<i32> for PreciseDecimal
source§fn div_assign(&mut self, other: i32)
fn div_assign(&mut self, other: i32)
/=
operation. Read moresource§impl DivAssign<i64> for PreciseDecimal
impl DivAssign<i64> for PreciseDecimal
source§fn div_assign(&mut self, other: i64)
fn div_assign(&mut self, other: i64)
/=
operation. Read moresource§impl DivAssign<i8> for PreciseDecimal
impl DivAssign<i8> for PreciseDecimal
source§fn div_assign(&mut self, other: i8)
fn div_assign(&mut self, other: i8)
/=
operation. Read moresource§impl DivAssign<isize> for PreciseDecimal
impl DivAssign<isize> for PreciseDecimal
source§fn div_assign(&mut self, other: isize)
fn div_assign(&mut self, other: isize)
/=
operation. Read moresource§impl DivAssign<u128> for PreciseDecimal
impl DivAssign<u128> for PreciseDecimal
source§fn div_assign(&mut self, other: u128)
fn div_assign(&mut self, other: u128)
/=
operation. Read moresource§impl DivAssign<u16> for PreciseDecimal
impl DivAssign<u16> for PreciseDecimal
source§fn div_assign(&mut self, other: u16)
fn div_assign(&mut self, other: u16)
/=
operation. Read moresource§impl DivAssign<u32> for PreciseDecimal
impl DivAssign<u32> for PreciseDecimal
source§fn div_assign(&mut self, other: u32)
fn div_assign(&mut self, other: u32)
/=
operation. Read moresource§impl DivAssign<u64> for PreciseDecimal
impl DivAssign<u64> for PreciseDecimal
source§fn div_assign(&mut self, other: u64)
fn div_assign(&mut self, other: u64)
/=
operation. Read moresource§impl DivAssign<u8> for PreciseDecimal
impl DivAssign<u8> for PreciseDecimal
source§fn div_assign(&mut self, other: u8)
fn div_assign(&mut self, other: u8)
/=
operation. Read moresource§impl DivAssign<usize> for PreciseDecimal
impl DivAssign<usize> for PreciseDecimal
source§fn div_assign(&mut self, other: usize)
fn div_assign(&mut self, other: usize)
/=
operation. Read moresource§impl<E> Encode<ManifestCustomValueKind, E> for PreciseDecimalwhere
E: Encoder<ManifestCustomValueKind>,
impl<E> Encode<ManifestCustomValueKind, E> for PreciseDecimalwhere E: Encoder<ManifestCustomValueKind>,
source§fn encode_value_kind(&self, encoder: &mut E) -> Result<(), EncodeError>
fn encode_value_kind(&self, encoder: &mut E) -> Result<(), EncodeError>
source§fn encode_body(&self, encoder: &mut E) -> Result<(), EncodeError>
fn encode_body(&self, encoder: &mut E) -> Result<(), EncodeError>
source§impl<E> Encode<ScryptoCustomValueKind, E> for PreciseDecimalwhere
E: Encoder<ScryptoCustomValueKind>,
impl<E> Encode<ScryptoCustomValueKind, E> for PreciseDecimalwhere E: Encoder<ScryptoCustomValueKind>,
source§fn encode_value_kind(&self, encoder: &mut E) -> Result<(), EncodeError>
fn encode_value_kind(&self, encoder: &mut E) -> Result<(), EncodeError>
source§fn encode_body(&self, encoder: &mut E) -> Result<(), EncodeError>
fn encode_body(&self, encoder: &mut E) -> Result<(), EncodeError>
source§impl From<Decimal> for PreciseDecimal
impl From<Decimal> for PreciseDecimal
source§fn from(val: Decimal) -> PreciseDecimal
fn from(val: Decimal) -> PreciseDecimal
source§impl From<bool> for PreciseDecimal
impl From<bool> for PreciseDecimal
source§fn from(val: bool) -> PreciseDecimal
fn from(val: bool) -> PreciseDecimal
source§impl From<i128> for PreciseDecimal
impl From<i128> for PreciseDecimal
source§fn from(val: i128) -> PreciseDecimal
fn from(val: i128) -> PreciseDecimal
source§impl From<i16> for PreciseDecimal
impl From<i16> for PreciseDecimal
source§fn from(val: i16) -> PreciseDecimal
fn from(val: i16) -> PreciseDecimal
source§impl From<i32> for PreciseDecimal
impl From<i32> for PreciseDecimal
source§fn from(val: i32) -> PreciseDecimal
fn from(val: i32) -> PreciseDecimal
source§impl From<i64> for PreciseDecimal
impl From<i64> for PreciseDecimal
source§fn from(val: i64) -> PreciseDecimal
fn from(val: i64) -> PreciseDecimal
source§impl From<i8> for PreciseDecimal
impl From<i8> for PreciseDecimal
source§fn from(val: i8) -> PreciseDecimal
fn from(val: i8) -> PreciseDecimal
source§impl From<isize> for PreciseDecimal
impl From<isize> for PreciseDecimal
source§fn from(val: isize) -> PreciseDecimal
fn from(val: isize) -> PreciseDecimal
source§impl From<u128> for PreciseDecimal
impl From<u128> for PreciseDecimal
source§fn from(val: u128) -> PreciseDecimal
fn from(val: u128) -> PreciseDecimal
source§impl From<u16> for PreciseDecimal
impl From<u16> for PreciseDecimal
source§fn from(val: u16) -> PreciseDecimal
fn from(val: u16) -> PreciseDecimal
source§impl From<u32> for PreciseDecimal
impl From<u32> for PreciseDecimal
source§fn from(val: u32) -> PreciseDecimal
fn from(val: u32) -> PreciseDecimal
source§impl From<u64> for PreciseDecimal
impl From<u64> for PreciseDecimal
source§fn from(val: u64) -> PreciseDecimal
fn from(val: u64) -> PreciseDecimal
source§impl From<u8> for PreciseDecimal
impl From<u8> for PreciseDecimal
source§fn from(val: u8) -> PreciseDecimal
fn from(val: u8) -> PreciseDecimal
source§impl From<usize> for PreciseDecimal
impl From<usize> for PreciseDecimal
source§fn from(val: usize) -> PreciseDecimal
fn from(val: usize) -> PreciseDecimal
source§impl FromStr for PreciseDecimal
impl FromStr for PreciseDecimal
§type Err = ParsePreciseDecimalError
type Err = ParsePreciseDecimalError
source§fn from_str(s: &str) -> Result<PreciseDecimal, <PreciseDecimal as FromStr>::Err>
fn from_str(s: &str) -> Result<PreciseDecimal, <PreciseDecimal as FromStr>::Err>
s
to return a value of this type. Read moresource§impl Hash for PreciseDecimal
impl Hash for PreciseDecimal
source§impl Mul<Decimal> for PreciseDecimal
impl Mul<Decimal> for PreciseDecimal
source§impl Mul<I192> for PreciseDecimal
impl Mul<I192> for PreciseDecimal
source§impl Mul<I256> for PreciseDecimal
impl Mul<I256> for PreciseDecimal
source§impl Mul<I320> for PreciseDecimal
impl Mul<I320> for PreciseDecimal
source§impl Mul<I448> for PreciseDecimal
impl Mul<I448> for PreciseDecimal
source§impl Mul<I512> for PreciseDecimal
impl Mul<I512> for PreciseDecimal
source§impl Mul<PreciseDecimal> for Decimal
impl Mul<PreciseDecimal> for Decimal
§type Output = PreciseDecimal
type Output = PreciseDecimal
*
operator.source§fn mul(self, other: PreciseDecimal) -> <Decimal as Mul<PreciseDecimal>>::Output
fn mul(self, other: PreciseDecimal) -> <Decimal as Mul<PreciseDecimal>>::Output
*
operation. Read moresource§impl Mul<PreciseDecimal> for I192
impl Mul<PreciseDecimal> for I192
§type Output = PreciseDecimal
type Output = PreciseDecimal
*
operator.source§fn mul(self, other: PreciseDecimal) -> <I192 as Mul<PreciseDecimal>>::Output
fn mul(self, other: PreciseDecimal) -> <I192 as Mul<PreciseDecimal>>::Output
*
operation. Read moresource§impl Mul<PreciseDecimal> for I256
impl Mul<PreciseDecimal> for I256
§type Output = PreciseDecimal
type Output = PreciseDecimal
*
operator.source§fn mul(self, other: PreciseDecimal) -> <I256 as Mul<PreciseDecimal>>::Output
fn mul(self, other: PreciseDecimal) -> <I256 as Mul<PreciseDecimal>>::Output
*
operation. Read moresource§impl Mul<PreciseDecimal> for I320
impl Mul<PreciseDecimal> for I320
§type Output = PreciseDecimal
type Output = PreciseDecimal
*
operator.source§fn mul(self, other: PreciseDecimal) -> <I320 as Mul<PreciseDecimal>>::Output
fn mul(self, other: PreciseDecimal) -> <I320 as Mul<PreciseDecimal>>::Output
*
operation. Read moresource§impl Mul<PreciseDecimal> for I448
impl Mul<PreciseDecimal> for I448
§type Output = PreciseDecimal
type Output = PreciseDecimal
*
operator.source§fn mul(self, other: PreciseDecimal) -> <I448 as Mul<PreciseDecimal>>::Output
fn mul(self, other: PreciseDecimal) -> <I448 as Mul<PreciseDecimal>>::Output
*
operation. Read moresource§impl Mul<PreciseDecimal> for I512
impl Mul<PreciseDecimal> for I512
§type Output = PreciseDecimal
type Output = PreciseDecimal
*
operator.source§fn mul(self, other: PreciseDecimal) -> <I512 as Mul<PreciseDecimal>>::Output
fn mul(self, other: PreciseDecimal) -> <I512 as Mul<PreciseDecimal>>::Output
*
operation. Read moresource§impl Mul<PreciseDecimal> for PreciseDecimal
impl Mul<PreciseDecimal> for PreciseDecimal
§type Output = PreciseDecimal
type Output = PreciseDecimal
*
operator.source§fn mul(
self,
other: PreciseDecimal
) -> <PreciseDecimal as Mul<PreciseDecimal>>::Output
fn mul( self, other: PreciseDecimal ) -> <PreciseDecimal as Mul<PreciseDecimal>>::Output
*
operation. Read moresource§impl Mul<PreciseDecimal> for U192
impl Mul<PreciseDecimal> for U192
§type Output = PreciseDecimal
type Output = PreciseDecimal
*
operator.source§fn mul(self, other: PreciseDecimal) -> <U192 as Mul<PreciseDecimal>>::Output
fn mul(self, other: PreciseDecimal) -> <U192 as Mul<PreciseDecimal>>::Output
*
operation. Read moresource§impl Mul<PreciseDecimal> for U256
impl Mul<PreciseDecimal> for U256
§type Output = PreciseDecimal
type Output = PreciseDecimal
*
operator.source§fn mul(self, other: PreciseDecimal) -> <U256 as Mul<PreciseDecimal>>::Output
fn mul(self, other: PreciseDecimal) -> <U256 as Mul<PreciseDecimal>>::Output
*
operation. Read moresource§impl Mul<PreciseDecimal> for U320
impl Mul<PreciseDecimal> for U320
§type Output = PreciseDecimal
type Output = PreciseDecimal
*
operator.source§fn mul(self, other: PreciseDecimal) -> <U320 as Mul<PreciseDecimal>>::Output
fn mul(self, other: PreciseDecimal) -> <U320 as Mul<PreciseDecimal>>::Output
*
operation. Read moresource§impl Mul<PreciseDecimal> for U448
impl Mul<PreciseDecimal> for U448
§type Output = PreciseDecimal
type Output = PreciseDecimal
*
operator.source§fn mul(self, other: PreciseDecimal) -> <U448 as Mul<PreciseDecimal>>::Output
fn mul(self, other: PreciseDecimal) -> <U448 as Mul<PreciseDecimal>>::Output
*
operation. Read moresource§impl Mul<PreciseDecimal> for U512
impl Mul<PreciseDecimal> for U512
§type Output = PreciseDecimal
type Output = PreciseDecimal
*
operator.source§fn mul(self, other: PreciseDecimal) -> <U512 as Mul<PreciseDecimal>>::Output
fn mul(self, other: PreciseDecimal) -> <U512 as Mul<PreciseDecimal>>::Output
*
operation. Read moresource§impl Mul<PreciseDecimal> for i128
impl Mul<PreciseDecimal> for i128
§type Output = PreciseDecimal
type Output = PreciseDecimal
*
operator.source§fn mul(self, other: PreciseDecimal) -> <i128 as Mul<PreciseDecimal>>::Output
fn mul(self, other: PreciseDecimal) -> <i128 as Mul<PreciseDecimal>>::Output
*
operation. Read moresource§impl Mul<PreciseDecimal> for i16
impl Mul<PreciseDecimal> for i16
§type Output = PreciseDecimal
type Output = PreciseDecimal
*
operator.source§fn mul(self, other: PreciseDecimal) -> <i16 as Mul<PreciseDecimal>>::Output
fn mul(self, other: PreciseDecimal) -> <i16 as Mul<PreciseDecimal>>::Output
*
operation. Read moresource§impl Mul<PreciseDecimal> for i32
impl Mul<PreciseDecimal> for i32
§type Output = PreciseDecimal
type Output = PreciseDecimal
*
operator.source§fn mul(self, other: PreciseDecimal) -> <i32 as Mul<PreciseDecimal>>::Output
fn mul(self, other: PreciseDecimal) -> <i32 as Mul<PreciseDecimal>>::Output
*
operation. Read moresource§impl Mul<PreciseDecimal> for i64
impl Mul<PreciseDecimal> for i64
§type Output = PreciseDecimal
type Output = PreciseDecimal
*
operator.source§fn mul(self, other: PreciseDecimal) -> <i64 as Mul<PreciseDecimal>>::Output
fn mul(self, other: PreciseDecimal) -> <i64 as Mul<PreciseDecimal>>::Output
*
operation. Read moresource§impl Mul<PreciseDecimal> for i8
impl Mul<PreciseDecimal> for i8
§type Output = PreciseDecimal
type Output = PreciseDecimal
*
operator.source§fn mul(self, other: PreciseDecimal) -> <i8 as Mul<PreciseDecimal>>::Output
fn mul(self, other: PreciseDecimal) -> <i8 as Mul<PreciseDecimal>>::Output
*
operation. Read moresource§impl Mul<PreciseDecimal> for isize
impl Mul<PreciseDecimal> for isize
§type Output = PreciseDecimal
type Output = PreciseDecimal
*
operator.source§fn mul(self, other: PreciseDecimal) -> <isize as Mul<PreciseDecimal>>::Output
fn mul(self, other: PreciseDecimal) -> <isize as Mul<PreciseDecimal>>::Output
*
operation. Read moresource§impl Mul<PreciseDecimal> for u128
impl Mul<PreciseDecimal> for u128
§type Output = PreciseDecimal
type Output = PreciseDecimal
*
operator.source§fn mul(self, other: PreciseDecimal) -> <u128 as Mul<PreciseDecimal>>::Output
fn mul(self, other: PreciseDecimal) -> <u128 as Mul<PreciseDecimal>>::Output
*
operation. Read moresource§impl Mul<PreciseDecimal> for u16
impl Mul<PreciseDecimal> for u16
§type Output = PreciseDecimal
type Output = PreciseDecimal
*
operator.source§fn mul(self, other: PreciseDecimal) -> <u16 as Mul<PreciseDecimal>>::Output
fn mul(self, other: PreciseDecimal) -> <u16 as Mul<PreciseDecimal>>::Output
*
operation. Read moresource§impl Mul<PreciseDecimal> for u32
impl Mul<PreciseDecimal> for u32
§type Output = PreciseDecimal
type Output = PreciseDecimal
*
operator.source§fn mul(self, other: PreciseDecimal) -> <u32 as Mul<PreciseDecimal>>::Output
fn mul(self, other: PreciseDecimal) -> <u32 as Mul<PreciseDecimal>>::Output
*
operation. Read moresource§impl Mul<PreciseDecimal> for u64
impl Mul<PreciseDecimal> for u64
§type Output = PreciseDecimal
type Output = PreciseDecimal
*
operator.source§fn mul(self, other: PreciseDecimal) -> <u64 as Mul<PreciseDecimal>>::Output
fn mul(self, other: PreciseDecimal) -> <u64 as Mul<PreciseDecimal>>::Output
*
operation. Read moresource§impl Mul<PreciseDecimal> for u8
impl Mul<PreciseDecimal> for u8
§type Output = PreciseDecimal
type Output = PreciseDecimal
*
operator.source§fn mul(self, other: PreciseDecimal) -> <u8 as Mul<PreciseDecimal>>::Output
fn mul(self, other: PreciseDecimal) -> <u8 as Mul<PreciseDecimal>>::Output
*
operation. Read moresource§impl Mul<PreciseDecimal> for usize
impl Mul<PreciseDecimal> for usize
§type Output = PreciseDecimal
type Output = PreciseDecimal
*
operator.source§fn mul(self, other: PreciseDecimal) -> <usize as Mul<PreciseDecimal>>::Output
fn mul(self, other: PreciseDecimal) -> <usize as Mul<PreciseDecimal>>::Output
*
operation. Read moresource§impl Mul<U192> for PreciseDecimal
impl Mul<U192> for PreciseDecimal
source§impl Mul<U256> for PreciseDecimal
impl Mul<U256> for PreciseDecimal
source§impl Mul<U320> for PreciseDecimal
impl Mul<U320> for PreciseDecimal
source§impl Mul<U448> for PreciseDecimal
impl Mul<U448> for PreciseDecimal
source§impl Mul<U512> for PreciseDecimal
impl Mul<U512> for PreciseDecimal
source§impl Mul<i128> for PreciseDecimal
impl Mul<i128> for PreciseDecimal
source§impl Mul<i16> for PreciseDecimal
impl Mul<i16> for PreciseDecimal
source§impl Mul<i32> for PreciseDecimal
impl Mul<i32> for PreciseDecimal
source§impl Mul<i64> for PreciseDecimal
impl Mul<i64> for PreciseDecimal
source§impl Mul<i8> for PreciseDecimal
impl Mul<i8> for PreciseDecimal
source§impl Mul<isize> for PreciseDecimal
impl Mul<isize> for PreciseDecimal
source§impl Mul<u128> for PreciseDecimal
impl Mul<u128> for PreciseDecimal
source§impl Mul<u16> for PreciseDecimal
impl Mul<u16> for PreciseDecimal
source§impl Mul<u32> for PreciseDecimal
impl Mul<u32> for PreciseDecimal
source§impl Mul<u64> for PreciseDecimal
impl Mul<u64> for PreciseDecimal
source§impl Mul<u8> for PreciseDecimal
impl Mul<u8> for PreciseDecimal
source§impl Mul<usize> for PreciseDecimal
impl Mul<usize> for PreciseDecimal
source§impl MulAssign<Decimal> for PreciseDecimal
impl MulAssign<Decimal> for PreciseDecimal
source§fn mul_assign(&mut self, other: Decimal)
fn mul_assign(&mut self, other: Decimal)
*=
operation. Read moresource§impl MulAssign<I192> for PreciseDecimal
impl MulAssign<I192> for PreciseDecimal
source§fn mul_assign(&mut self, other: I192)
fn mul_assign(&mut self, other: I192)
*=
operation. Read moresource§impl MulAssign<I256> for PreciseDecimal
impl MulAssign<I256> for PreciseDecimal
source§fn mul_assign(&mut self, other: I256)
fn mul_assign(&mut self, other: I256)
*=
operation. Read moresource§impl MulAssign<I320> for PreciseDecimal
impl MulAssign<I320> for PreciseDecimal
source§fn mul_assign(&mut self, other: I320)
fn mul_assign(&mut self, other: I320)
*=
operation. Read moresource§impl MulAssign<I448> for PreciseDecimal
impl MulAssign<I448> for PreciseDecimal
source§fn mul_assign(&mut self, other: I448)
fn mul_assign(&mut self, other: I448)
*=
operation. Read moresource§impl MulAssign<I512> for PreciseDecimal
impl MulAssign<I512> for PreciseDecimal
source§fn mul_assign(&mut self, other: I512)
fn mul_assign(&mut self, other: I512)
*=
operation. Read moresource§impl MulAssign<PreciseDecimal> for PreciseDecimal
impl MulAssign<PreciseDecimal> for PreciseDecimal
source§fn mul_assign(&mut self, other: PreciseDecimal)
fn mul_assign(&mut self, other: PreciseDecimal)
*=
operation. Read moresource§impl MulAssign<U192> for PreciseDecimal
impl MulAssign<U192> for PreciseDecimal
source§fn mul_assign(&mut self, other: U192)
fn mul_assign(&mut self, other: U192)
*=
operation. Read moresource§impl MulAssign<U256> for PreciseDecimal
impl MulAssign<U256> for PreciseDecimal
source§fn mul_assign(&mut self, other: U256)
fn mul_assign(&mut self, other: U256)
*=
operation. Read moresource§impl MulAssign<U320> for PreciseDecimal
impl MulAssign<U320> for PreciseDecimal
source§fn mul_assign(&mut self, other: U320)
fn mul_assign(&mut self, other: U320)
*=
operation. Read moresource§impl MulAssign<U448> for PreciseDecimal
impl MulAssign<U448> for PreciseDecimal
source§fn mul_assign(&mut self, other: U448)
fn mul_assign(&mut self, other: U448)
*=
operation. Read moresource§impl MulAssign<U512> for PreciseDecimal
impl MulAssign<U512> for PreciseDecimal
source§fn mul_assign(&mut self, other: U512)
fn mul_assign(&mut self, other: U512)
*=
operation. Read moresource§impl MulAssign<i128> for PreciseDecimal
impl MulAssign<i128> for PreciseDecimal
source§fn mul_assign(&mut self, other: i128)
fn mul_assign(&mut self, other: i128)
*=
operation. Read moresource§impl MulAssign<i16> for PreciseDecimal
impl MulAssign<i16> for PreciseDecimal
source§fn mul_assign(&mut self, other: i16)
fn mul_assign(&mut self, other: i16)
*=
operation. Read moresource§impl MulAssign<i32> for PreciseDecimal
impl MulAssign<i32> for PreciseDecimal
source§fn mul_assign(&mut self, other: i32)
fn mul_assign(&mut self, other: i32)
*=
operation. Read moresource§impl MulAssign<i64> for PreciseDecimal
impl MulAssign<i64> for PreciseDecimal
source§fn mul_assign(&mut self, other: i64)
fn mul_assign(&mut self, other: i64)
*=
operation. Read moresource§impl MulAssign<i8> for PreciseDecimal
impl MulAssign<i8> for PreciseDecimal
source§fn mul_assign(&mut self, other: i8)
fn mul_assign(&mut self, other: i8)
*=
operation. Read moresource§impl MulAssign<isize> for PreciseDecimal
impl MulAssign<isize> for PreciseDecimal
source§fn mul_assign(&mut self, other: isize)
fn mul_assign(&mut self, other: isize)
*=
operation. Read moresource§impl MulAssign<u128> for PreciseDecimal
impl MulAssign<u128> for PreciseDecimal
source§fn mul_assign(&mut self, other: u128)
fn mul_assign(&mut self, other: u128)
*=
operation. Read moresource§impl MulAssign<u16> for PreciseDecimal
impl MulAssign<u16> for PreciseDecimal
source§fn mul_assign(&mut self, other: u16)
fn mul_assign(&mut self, other: u16)
*=
operation. Read moresource§impl MulAssign<u32> for PreciseDecimal
impl MulAssign<u32> for PreciseDecimal
source§fn mul_assign(&mut self, other: u32)
fn mul_assign(&mut self, other: u32)
*=
operation. Read moresource§impl MulAssign<u64> for PreciseDecimal
impl MulAssign<u64> for PreciseDecimal
source§fn mul_assign(&mut self, other: u64)
fn mul_assign(&mut self, other: u64)
*=
operation. Read moresource§impl MulAssign<u8> for PreciseDecimal
impl MulAssign<u8> for PreciseDecimal
source§fn mul_assign(&mut self, other: u8)
fn mul_assign(&mut self, other: u8)
*=
operation. Read moresource§impl MulAssign<usize> for PreciseDecimal
impl MulAssign<usize> for PreciseDecimal
source§fn mul_assign(&mut self, other: usize)
fn mul_assign(&mut self, other: usize)
*=
operation. Read moresource§impl Neg for PreciseDecimal
impl Neg for PreciseDecimal
§type Output = PreciseDecimal
type Output = PreciseDecimal
-
operator.source§impl Ord for PreciseDecimal
impl Ord for PreciseDecimal
source§fn cmp(&self, other: &PreciseDecimal) -> Ordering
fn cmp(&self, other: &PreciseDecimal) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
source§impl PartialEq<PreciseDecimal> for PreciseDecimal
impl PartialEq<PreciseDecimal> for PreciseDecimal
source§fn eq(&self, other: &PreciseDecimal) -> bool
fn eq(&self, other: &PreciseDecimal) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PreciseDecimal> for PreciseDecimal
impl PartialOrd<PreciseDecimal> for PreciseDecimal
source§fn partial_cmp(&self, other: &PreciseDecimal) -> Option<Ordering>
fn partial_cmp(&self, other: &PreciseDecimal) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl Sub<Decimal> for PreciseDecimal
impl Sub<Decimal> for PreciseDecimal
source§impl Sub<I192> for PreciseDecimal
impl Sub<I192> for PreciseDecimal
source§impl Sub<I256> for PreciseDecimal
impl Sub<I256> for PreciseDecimal
source§impl Sub<I320> for PreciseDecimal
impl Sub<I320> for PreciseDecimal
source§impl Sub<I448> for PreciseDecimal
impl Sub<I448> for PreciseDecimal
source§impl Sub<I512> for PreciseDecimal
impl Sub<I512> for PreciseDecimal
source§impl Sub<PreciseDecimal> for Decimal
impl Sub<PreciseDecimal> for Decimal
§type Output = PreciseDecimal
type Output = PreciseDecimal
-
operator.source§fn sub(self, other: PreciseDecimal) -> <Decimal as Sub<PreciseDecimal>>::Output
fn sub(self, other: PreciseDecimal) -> <Decimal as Sub<PreciseDecimal>>::Output
-
operation. Read moresource§impl Sub<PreciseDecimal> for I192
impl Sub<PreciseDecimal> for I192
§type Output = PreciseDecimal
type Output = PreciseDecimal
-
operator.source§fn sub(self, other: PreciseDecimal) -> <I192 as Sub<PreciseDecimal>>::Output
fn sub(self, other: PreciseDecimal) -> <I192 as Sub<PreciseDecimal>>::Output
-
operation. Read moresource§impl Sub<PreciseDecimal> for I256
impl Sub<PreciseDecimal> for I256
§type Output = PreciseDecimal
type Output = PreciseDecimal
-
operator.source§fn sub(self, other: PreciseDecimal) -> <I256 as Sub<PreciseDecimal>>::Output
fn sub(self, other: PreciseDecimal) -> <I256 as Sub<PreciseDecimal>>::Output
-
operation. Read moresource§impl Sub<PreciseDecimal> for I320
impl Sub<PreciseDecimal> for I320
§type Output = PreciseDecimal
type Output = PreciseDecimal
-
operator.source§fn sub(self, other: PreciseDecimal) -> <I320 as Sub<PreciseDecimal>>::Output
fn sub(self, other: PreciseDecimal) -> <I320 as Sub<PreciseDecimal>>::Output
-
operation. Read moresource§impl Sub<PreciseDecimal> for I448
impl Sub<PreciseDecimal> for I448
§type Output = PreciseDecimal
type Output = PreciseDecimal
-
operator.source§fn sub(self, other: PreciseDecimal) -> <I448 as Sub<PreciseDecimal>>::Output
fn sub(self, other: PreciseDecimal) -> <I448 as Sub<PreciseDecimal>>::Output
-
operation. Read moresource§impl Sub<PreciseDecimal> for I512
impl Sub<PreciseDecimal> for I512
§type Output = PreciseDecimal
type Output = PreciseDecimal
-
operator.source§fn sub(self, other: PreciseDecimal) -> <I512 as Sub<PreciseDecimal>>::Output
fn sub(self, other: PreciseDecimal) -> <I512 as Sub<PreciseDecimal>>::Output
-
operation. Read moresource§impl Sub<PreciseDecimal> for PreciseDecimal
impl Sub<PreciseDecimal> for PreciseDecimal
§type Output = PreciseDecimal
type Output = PreciseDecimal
-
operator.source§fn sub(
self,
other: PreciseDecimal
) -> <PreciseDecimal as Sub<PreciseDecimal>>::Output
fn sub( self, other: PreciseDecimal ) -> <PreciseDecimal as Sub<PreciseDecimal>>::Output
-
operation. Read moresource§impl Sub<PreciseDecimal> for U192
impl Sub<PreciseDecimal> for U192
§type Output = PreciseDecimal
type Output = PreciseDecimal
-
operator.source§fn sub(self, other: PreciseDecimal) -> <U192 as Sub<PreciseDecimal>>::Output
fn sub(self, other: PreciseDecimal) -> <U192 as Sub<PreciseDecimal>>::Output
-
operation. Read moresource§impl Sub<PreciseDecimal> for U256
impl Sub<PreciseDecimal> for U256
§type Output = PreciseDecimal
type Output = PreciseDecimal
-
operator.source§fn sub(self, other: PreciseDecimal) -> <U256 as Sub<PreciseDecimal>>::Output
fn sub(self, other: PreciseDecimal) -> <U256 as Sub<PreciseDecimal>>::Output
-
operation. Read moresource§impl Sub<PreciseDecimal> for U320
impl Sub<PreciseDecimal> for U320
§type Output = PreciseDecimal
type Output = PreciseDecimal
-
operator.source§fn sub(self, other: PreciseDecimal) -> <U320 as Sub<PreciseDecimal>>::Output
fn sub(self, other: PreciseDecimal) -> <U320 as Sub<PreciseDecimal>>::Output
-
operation. Read moresource§impl Sub<PreciseDecimal> for U448
impl Sub<PreciseDecimal> for U448
§type Output = PreciseDecimal
type Output = PreciseDecimal
-
operator.source§fn sub(self, other: PreciseDecimal) -> <U448 as Sub<PreciseDecimal>>::Output
fn sub(self, other: PreciseDecimal) -> <U448 as Sub<PreciseDecimal>>::Output
-
operation. Read moresource§impl Sub<PreciseDecimal> for U512
impl Sub<PreciseDecimal> for U512
§type Output = PreciseDecimal
type Output = PreciseDecimal
-
operator.source§fn sub(self, other: PreciseDecimal) -> <U512 as Sub<PreciseDecimal>>::Output
fn sub(self, other: PreciseDecimal) -> <U512 as Sub<PreciseDecimal>>::Output
-
operation. Read moresource§impl Sub<PreciseDecimal> for i128
impl Sub<PreciseDecimal> for i128
§type Output = PreciseDecimal
type Output = PreciseDecimal
-
operator.source§fn sub(self, other: PreciseDecimal) -> <i128 as Sub<PreciseDecimal>>::Output
fn sub(self, other: PreciseDecimal) -> <i128 as Sub<PreciseDecimal>>::Output
-
operation. Read moresource§impl Sub<PreciseDecimal> for i16
impl Sub<PreciseDecimal> for i16
§type Output = PreciseDecimal
type Output = PreciseDecimal
-
operator.source§fn sub(self, other: PreciseDecimal) -> <i16 as Sub<PreciseDecimal>>::Output
fn sub(self, other: PreciseDecimal) -> <i16 as Sub<PreciseDecimal>>::Output
-
operation. Read moresource§impl Sub<PreciseDecimal> for i32
impl Sub<PreciseDecimal> for i32
§type Output = PreciseDecimal
type Output = PreciseDecimal
-
operator.source§fn sub(self, other: PreciseDecimal) -> <i32 as Sub<PreciseDecimal>>::Output
fn sub(self, other: PreciseDecimal) -> <i32 as Sub<PreciseDecimal>>::Output
-
operation. Read moresource§impl Sub<PreciseDecimal> for i64
impl Sub<PreciseDecimal> for i64
§type Output = PreciseDecimal
type Output = PreciseDecimal
-
operator.source§fn sub(self, other: PreciseDecimal) -> <i64 as Sub<PreciseDecimal>>::Output
fn sub(self, other: PreciseDecimal) -> <i64 as Sub<PreciseDecimal>>::Output
-
operation. Read moresource§impl Sub<PreciseDecimal> for i8
impl Sub<PreciseDecimal> for i8
§type Output = PreciseDecimal
type Output = PreciseDecimal
-
operator.source§fn sub(self, other: PreciseDecimal) -> <i8 as Sub<PreciseDecimal>>::Output
fn sub(self, other: PreciseDecimal) -> <i8 as Sub<PreciseDecimal>>::Output
-
operation. Read moresource§impl Sub<PreciseDecimal> for isize
impl Sub<PreciseDecimal> for isize
§type Output = PreciseDecimal
type Output = PreciseDecimal
-
operator.source§fn sub(self, other: PreciseDecimal) -> <isize as Sub<PreciseDecimal>>::Output
fn sub(self, other: PreciseDecimal) -> <isize as Sub<PreciseDecimal>>::Output
-
operation. Read moresource§impl Sub<PreciseDecimal> for u128
impl Sub<PreciseDecimal> for u128
§type Output = PreciseDecimal
type Output = PreciseDecimal
-
operator.source§fn sub(self, other: PreciseDecimal) -> <u128 as Sub<PreciseDecimal>>::Output
fn sub(self, other: PreciseDecimal) -> <u128 as Sub<PreciseDecimal>>::Output
-
operation. Read moresource§impl Sub<PreciseDecimal> for u16
impl Sub<PreciseDecimal> for u16
§type Output = PreciseDecimal
type Output = PreciseDecimal
-
operator.source§fn sub(self, other: PreciseDecimal) -> <u16 as Sub<PreciseDecimal>>::Output
fn sub(self, other: PreciseDecimal) -> <u16 as Sub<PreciseDecimal>>::Output
-
operation. Read moresource§impl Sub<PreciseDecimal> for u32
impl Sub<PreciseDecimal> for u32
§type Output = PreciseDecimal
type Output = PreciseDecimal
-
operator.source§fn sub(self, other: PreciseDecimal) -> <u32 as Sub<PreciseDecimal>>::Output
fn sub(self, other: PreciseDecimal) -> <u32 as Sub<PreciseDecimal>>::Output
-
operation. Read moresource§impl Sub<PreciseDecimal> for u64
impl Sub<PreciseDecimal> for u64
§type Output = PreciseDecimal
type Output = PreciseDecimal
-
operator.source§fn sub(self, other: PreciseDecimal) -> <u64 as Sub<PreciseDecimal>>::Output
fn sub(self, other: PreciseDecimal) -> <u64 as Sub<PreciseDecimal>>::Output
-
operation. Read moresource§impl Sub<PreciseDecimal> for u8
impl Sub<PreciseDecimal> for u8
§type Output = PreciseDecimal
type Output = PreciseDecimal
-
operator.source§fn sub(self, other: PreciseDecimal) -> <u8 as Sub<PreciseDecimal>>::Output
fn sub(self, other: PreciseDecimal) -> <u8 as Sub<PreciseDecimal>>::Output
-
operation. Read moresource§impl Sub<PreciseDecimal> for usize
impl Sub<PreciseDecimal> for usize
§type Output = PreciseDecimal
type Output = PreciseDecimal
-
operator.source§fn sub(self, other: PreciseDecimal) -> <usize as Sub<PreciseDecimal>>::Output
fn sub(self, other: PreciseDecimal) -> <usize as Sub<PreciseDecimal>>::Output
-
operation. Read moresource§impl Sub<U192> for PreciseDecimal
impl Sub<U192> for PreciseDecimal
source§impl Sub<U256> for PreciseDecimal
impl Sub<U256> for PreciseDecimal
source§impl Sub<U320> for PreciseDecimal
impl Sub<U320> for PreciseDecimal
source§impl Sub<U448> for PreciseDecimal
impl Sub<U448> for PreciseDecimal
source§impl Sub<U512> for PreciseDecimal
impl Sub<U512> for PreciseDecimal
source§impl Sub<i128> for PreciseDecimal
impl Sub<i128> for PreciseDecimal
source§impl Sub<i16> for PreciseDecimal
impl Sub<i16> for PreciseDecimal
source§impl Sub<i32> for PreciseDecimal
impl Sub<i32> for PreciseDecimal
source§impl Sub<i64> for PreciseDecimal
impl Sub<i64> for PreciseDecimal
source§impl Sub<i8> for PreciseDecimal
impl Sub<i8> for PreciseDecimal
source§impl Sub<isize> for PreciseDecimal
impl Sub<isize> for PreciseDecimal
source§impl Sub<u128> for PreciseDecimal
impl Sub<u128> for PreciseDecimal
source§impl Sub<u16> for PreciseDecimal
impl Sub<u16> for PreciseDecimal
source§impl Sub<u32> for PreciseDecimal
impl Sub<u32> for PreciseDecimal
source§impl Sub<u64> for PreciseDecimal
impl Sub<u64> for PreciseDecimal
source§impl Sub<u8> for PreciseDecimal
impl Sub<u8> for PreciseDecimal
source§impl Sub<usize> for PreciseDecimal
impl Sub<usize> for PreciseDecimal
source§impl SubAssign<Decimal> for PreciseDecimal
impl SubAssign<Decimal> for PreciseDecimal
source§fn sub_assign(&mut self, other: Decimal)
fn sub_assign(&mut self, other: Decimal)
-=
operation. Read moresource§impl SubAssign<I192> for PreciseDecimal
impl SubAssign<I192> for PreciseDecimal
source§fn sub_assign(&mut self, other: I192)
fn sub_assign(&mut self, other: I192)
-=
operation. Read moresource§impl SubAssign<I256> for PreciseDecimal
impl SubAssign<I256> for PreciseDecimal
source§fn sub_assign(&mut self, other: I256)
fn sub_assign(&mut self, other: I256)
-=
operation. Read moresource§impl SubAssign<I320> for PreciseDecimal
impl SubAssign<I320> for PreciseDecimal
source§fn sub_assign(&mut self, other: I320)
fn sub_assign(&mut self, other: I320)
-=
operation. Read moresource§impl SubAssign<I448> for PreciseDecimal
impl SubAssign<I448> for PreciseDecimal
source§fn sub_assign(&mut self, other: I448)
fn sub_assign(&mut self, other: I448)
-=
operation. Read moresource§impl SubAssign<I512> for PreciseDecimal
impl SubAssign<I512> for PreciseDecimal
source§fn sub_assign(&mut self, other: I512)
fn sub_assign(&mut self, other: I512)
-=
operation. Read moresource§impl SubAssign<PreciseDecimal> for PreciseDecimal
impl SubAssign<PreciseDecimal> for PreciseDecimal
source§fn sub_assign(&mut self, other: PreciseDecimal)
fn sub_assign(&mut self, other: PreciseDecimal)
-=
operation. Read moresource§impl SubAssign<U192> for PreciseDecimal
impl SubAssign<U192> for PreciseDecimal
source§fn sub_assign(&mut self, other: U192)
fn sub_assign(&mut self, other: U192)
-=
operation. Read moresource§impl SubAssign<U256> for PreciseDecimal
impl SubAssign<U256> for PreciseDecimal
source§fn sub_assign(&mut self, other: U256)
fn sub_assign(&mut self, other: U256)
-=
operation. Read moresource§impl SubAssign<U320> for PreciseDecimal
impl SubAssign<U320> for PreciseDecimal
source§fn sub_assign(&mut self, other: U320)
fn sub_assign(&mut self, other: U320)
-=
operation. Read moresource§impl SubAssign<U448> for PreciseDecimal
impl SubAssign<U448> for PreciseDecimal
source§fn sub_assign(&mut self, other: U448)
fn sub_assign(&mut self, other: U448)
-=
operation. Read moresource§impl SubAssign<U512> for PreciseDecimal
impl SubAssign<U512> for PreciseDecimal
source§fn sub_assign(&mut self, other: U512)
fn sub_assign(&mut self, other: U512)
-=
operation. Read moresource§impl SubAssign<i128> for PreciseDecimal
impl SubAssign<i128> for PreciseDecimal
source§fn sub_assign(&mut self, other: i128)
fn sub_assign(&mut self, other: i128)
-=
operation. Read moresource§impl SubAssign<i16> for PreciseDecimal
impl SubAssign<i16> for PreciseDecimal
source§fn sub_assign(&mut self, other: i16)
fn sub_assign(&mut self, other: i16)
-=
operation. Read moresource§impl SubAssign<i32> for PreciseDecimal
impl SubAssign<i32> for PreciseDecimal
source§fn sub_assign(&mut self, other: i32)
fn sub_assign(&mut self, other: i32)
-=
operation. Read moresource§impl SubAssign<i64> for PreciseDecimal
impl SubAssign<i64> for PreciseDecimal
source§fn sub_assign(&mut self, other: i64)
fn sub_assign(&mut self, other: i64)
-=
operation. Read moresource§impl SubAssign<i8> for PreciseDecimal
impl SubAssign<i8> for PreciseDecimal
source§fn sub_assign(&mut self, other: i8)
fn sub_assign(&mut self, other: i8)
-=
operation. Read moresource§impl SubAssign<isize> for PreciseDecimal
impl SubAssign<isize> for PreciseDecimal
source§fn sub_assign(&mut self, other: isize)
fn sub_assign(&mut self, other: isize)
-=
operation. Read moresource§impl SubAssign<u128> for PreciseDecimal
impl SubAssign<u128> for PreciseDecimal
source§fn sub_assign(&mut self, other: u128)
fn sub_assign(&mut self, other: u128)
-=
operation. Read moresource§impl SubAssign<u16> for PreciseDecimal
impl SubAssign<u16> for PreciseDecimal
source§fn sub_assign(&mut self, other: u16)
fn sub_assign(&mut self, other: u16)
-=
operation. Read moresource§impl SubAssign<u32> for PreciseDecimal
impl SubAssign<u32> for PreciseDecimal
source§fn sub_assign(&mut self, other: u32)
fn sub_assign(&mut self, other: u32)
-=
operation. Read moresource§impl SubAssign<u64> for PreciseDecimal
impl SubAssign<u64> for PreciseDecimal
source§fn sub_assign(&mut self, other: u64)
fn sub_assign(&mut self, other: u64)
-=
operation. Read moresource§impl SubAssign<u8> for PreciseDecimal
impl SubAssign<u8> for PreciseDecimal
source§fn sub_assign(&mut self, other: u8)
fn sub_assign(&mut self, other: u8)
-=
operation. Read moresource§impl SubAssign<usize> for PreciseDecimal
impl SubAssign<usize> for PreciseDecimal
source§fn sub_assign(&mut self, other: usize)
fn sub_assign(&mut self, other: usize)
-=
operation. Read moresource§impl TryFrom<&[u8]> for PreciseDecimal
impl TryFrom<&[u8]> for PreciseDecimal
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
slice: &[u8]
) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<&[u8]>>::Error>
fn try_from( slice: &[u8] ) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<&[u8]>>::Error>
source§impl TryFrom<&PreciseDecimal> for i128
impl TryFrom<&PreciseDecimal> for i128
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: &PreciseDecimal
) -> Result<i128, <i128 as TryFrom<&PreciseDecimal>>::Error>
fn try_from( val: &PreciseDecimal ) -> Result<i128, <i128 as TryFrom<&PreciseDecimal>>::Error>
source§impl TryFrom<&PreciseDecimal> for i16
impl TryFrom<&PreciseDecimal> for i16
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: &PreciseDecimal
) -> Result<i16, <i16 as TryFrom<&PreciseDecimal>>::Error>
fn try_from( val: &PreciseDecimal ) -> Result<i16, <i16 as TryFrom<&PreciseDecimal>>::Error>
source§impl TryFrom<&PreciseDecimal> for i32
impl TryFrom<&PreciseDecimal> for i32
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: &PreciseDecimal
) -> Result<i32, <i32 as TryFrom<&PreciseDecimal>>::Error>
fn try_from( val: &PreciseDecimal ) -> Result<i32, <i32 as TryFrom<&PreciseDecimal>>::Error>
source§impl TryFrom<&PreciseDecimal> for i64
impl TryFrom<&PreciseDecimal> for i64
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: &PreciseDecimal
) -> Result<i64, <i64 as TryFrom<&PreciseDecimal>>::Error>
fn try_from( val: &PreciseDecimal ) -> Result<i64, <i64 as TryFrom<&PreciseDecimal>>::Error>
source§impl TryFrom<&PreciseDecimal> for i8
impl TryFrom<&PreciseDecimal> for i8
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: &PreciseDecimal
) -> Result<i8, <i8 as TryFrom<&PreciseDecimal>>::Error>
fn try_from( val: &PreciseDecimal ) -> Result<i8, <i8 as TryFrom<&PreciseDecimal>>::Error>
source§impl TryFrom<&PreciseDecimal> for isize
impl TryFrom<&PreciseDecimal> for isize
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: &PreciseDecimal
) -> Result<isize, <isize as TryFrom<&PreciseDecimal>>::Error>
fn try_from( val: &PreciseDecimal ) -> Result<isize, <isize as TryFrom<&PreciseDecimal>>::Error>
source§impl TryFrom<&PreciseDecimal> for u128
impl TryFrom<&PreciseDecimal> for u128
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: &PreciseDecimal
) -> Result<u128, <u128 as TryFrom<&PreciseDecimal>>::Error>
fn try_from( val: &PreciseDecimal ) -> Result<u128, <u128 as TryFrom<&PreciseDecimal>>::Error>
source§impl TryFrom<&PreciseDecimal> for u16
impl TryFrom<&PreciseDecimal> for u16
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: &PreciseDecimal
) -> Result<u16, <u16 as TryFrom<&PreciseDecimal>>::Error>
fn try_from( val: &PreciseDecimal ) -> Result<u16, <u16 as TryFrom<&PreciseDecimal>>::Error>
source§impl TryFrom<&PreciseDecimal> for u32
impl TryFrom<&PreciseDecimal> for u32
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: &PreciseDecimal
) -> Result<u32, <u32 as TryFrom<&PreciseDecimal>>::Error>
fn try_from( val: &PreciseDecimal ) -> Result<u32, <u32 as TryFrom<&PreciseDecimal>>::Error>
source§impl TryFrom<&PreciseDecimal> for u64
impl TryFrom<&PreciseDecimal> for u64
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: &PreciseDecimal
) -> Result<u64, <u64 as TryFrom<&PreciseDecimal>>::Error>
fn try_from( val: &PreciseDecimal ) -> Result<u64, <u64 as TryFrom<&PreciseDecimal>>::Error>
source§impl TryFrom<&PreciseDecimal> for u8
impl TryFrom<&PreciseDecimal> for u8
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: &PreciseDecimal
) -> Result<u8, <u8 as TryFrom<&PreciseDecimal>>::Error>
fn try_from( val: &PreciseDecimal ) -> Result<u8, <u8 as TryFrom<&PreciseDecimal>>::Error>
source§impl TryFrom<&PreciseDecimal> for usize
impl TryFrom<&PreciseDecimal> for usize
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: &PreciseDecimal
) -> Result<usize, <usize as TryFrom<&PreciseDecimal>>::Error>
fn try_from( val: &PreciseDecimal ) -> Result<usize, <usize as TryFrom<&PreciseDecimal>>::Error>
source§impl TryFrom<&str> for PreciseDecimal
impl TryFrom<&str> for PreciseDecimal
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: &str
) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<&str>>::Error>
fn try_from( val: &str ) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<&str>>::Error>
source§impl TryFrom<I192> for PreciseDecimal
impl TryFrom<I192> for PreciseDecimal
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: I192
) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<I192>>::Error>
fn try_from( val: I192 ) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<I192>>::Error>
source§impl TryFrom<I256> for PreciseDecimal
impl TryFrom<I256> for PreciseDecimal
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: I256
) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<I256>>::Error>
fn try_from( val: I256 ) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<I256>>::Error>
source§impl TryFrom<I320> for PreciseDecimal
impl TryFrom<I320> for PreciseDecimal
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: I320
) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<I320>>::Error>
fn try_from( val: I320 ) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<I320>>::Error>
source§impl TryFrom<I384> for PreciseDecimal
impl TryFrom<I384> for PreciseDecimal
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: I384
) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<I384>>::Error>
fn try_from( val: I384 ) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<I384>>::Error>
source§impl TryFrom<I448> for PreciseDecimal
impl TryFrom<I448> for PreciseDecimal
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: I448
) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<I448>>::Error>
fn try_from( val: I448 ) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<I448>>::Error>
source§impl TryFrom<I512> for PreciseDecimal
impl TryFrom<I512> for PreciseDecimal
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: I512
) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<I512>>::Error>
fn try_from( val: I512 ) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<I512>>::Error>
source§impl TryFrom<PreciseDecimal> for Decimal
impl TryFrom<PreciseDecimal> for Decimal
§type Error = ParseDecimalError
type Error = ParseDecimalError
source§fn try_from(
val: PreciseDecimal
) -> Result<Decimal, <Decimal as TryFrom<PreciseDecimal>>::Error>
fn try_from( val: PreciseDecimal ) -> Result<Decimal, <Decimal as TryFrom<PreciseDecimal>>::Error>
source§impl TryFrom<PreciseDecimal> for i128
impl TryFrom<PreciseDecimal> for i128
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: PreciseDecimal
) -> Result<i128, <i128 as TryFrom<PreciseDecimal>>::Error>
fn try_from( val: PreciseDecimal ) -> Result<i128, <i128 as TryFrom<PreciseDecimal>>::Error>
source§impl TryFrom<PreciseDecimal> for i16
impl TryFrom<PreciseDecimal> for i16
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: PreciseDecimal
) -> Result<i16, <i16 as TryFrom<PreciseDecimal>>::Error>
fn try_from( val: PreciseDecimal ) -> Result<i16, <i16 as TryFrom<PreciseDecimal>>::Error>
source§impl TryFrom<PreciseDecimal> for i32
impl TryFrom<PreciseDecimal> for i32
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: PreciseDecimal
) -> Result<i32, <i32 as TryFrom<PreciseDecimal>>::Error>
fn try_from( val: PreciseDecimal ) -> Result<i32, <i32 as TryFrom<PreciseDecimal>>::Error>
source§impl TryFrom<PreciseDecimal> for i64
impl TryFrom<PreciseDecimal> for i64
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: PreciseDecimal
) -> Result<i64, <i64 as TryFrom<PreciseDecimal>>::Error>
fn try_from( val: PreciseDecimal ) -> Result<i64, <i64 as TryFrom<PreciseDecimal>>::Error>
source§impl TryFrom<PreciseDecimal> for i8
impl TryFrom<PreciseDecimal> for i8
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: PreciseDecimal
) -> Result<i8, <i8 as TryFrom<PreciseDecimal>>::Error>
fn try_from( val: PreciseDecimal ) -> Result<i8, <i8 as TryFrom<PreciseDecimal>>::Error>
source§impl TryFrom<PreciseDecimal> for isize
impl TryFrom<PreciseDecimal> for isize
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: PreciseDecimal
) -> Result<isize, <isize as TryFrom<PreciseDecimal>>::Error>
fn try_from( val: PreciseDecimal ) -> Result<isize, <isize as TryFrom<PreciseDecimal>>::Error>
source§impl TryFrom<PreciseDecimal> for u128
impl TryFrom<PreciseDecimal> for u128
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: PreciseDecimal
) -> Result<u128, <u128 as TryFrom<PreciseDecimal>>::Error>
fn try_from( val: PreciseDecimal ) -> Result<u128, <u128 as TryFrom<PreciseDecimal>>::Error>
source§impl TryFrom<PreciseDecimal> for u16
impl TryFrom<PreciseDecimal> for u16
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: PreciseDecimal
) -> Result<u16, <u16 as TryFrom<PreciseDecimal>>::Error>
fn try_from( val: PreciseDecimal ) -> Result<u16, <u16 as TryFrom<PreciseDecimal>>::Error>
source§impl TryFrom<PreciseDecimal> for u32
impl TryFrom<PreciseDecimal> for u32
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: PreciseDecimal
) -> Result<u32, <u32 as TryFrom<PreciseDecimal>>::Error>
fn try_from( val: PreciseDecimal ) -> Result<u32, <u32 as TryFrom<PreciseDecimal>>::Error>
source§impl TryFrom<PreciseDecimal> for u64
impl TryFrom<PreciseDecimal> for u64
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: PreciseDecimal
) -> Result<u64, <u64 as TryFrom<PreciseDecimal>>::Error>
fn try_from( val: PreciseDecimal ) -> Result<u64, <u64 as TryFrom<PreciseDecimal>>::Error>
source§impl TryFrom<PreciseDecimal> for u8
impl TryFrom<PreciseDecimal> for u8
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: PreciseDecimal
) -> Result<u8, <u8 as TryFrom<PreciseDecimal>>::Error>
fn try_from( val: PreciseDecimal ) -> Result<u8, <u8 as TryFrom<PreciseDecimal>>::Error>
source§impl TryFrom<PreciseDecimal> for usize
impl TryFrom<PreciseDecimal> for usize
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: PreciseDecimal
) -> Result<usize, <usize as TryFrom<PreciseDecimal>>::Error>
fn try_from( val: PreciseDecimal ) -> Result<usize, <usize as TryFrom<PreciseDecimal>>::Error>
source§impl TryFrom<String> for PreciseDecimal
impl TryFrom<String> for PreciseDecimal
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: String
) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<String>>::Error>
fn try_from( val: String ) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<String>>::Error>
source§impl TryFrom<U192> for PreciseDecimal
impl TryFrom<U192> for PreciseDecimal
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: U192
) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<U192>>::Error>
fn try_from( val: U192 ) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<U192>>::Error>
source§impl TryFrom<U256> for PreciseDecimal
impl TryFrom<U256> for PreciseDecimal
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: U256
) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<U256>>::Error>
fn try_from( val: U256 ) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<U256>>::Error>
source§impl TryFrom<U320> for PreciseDecimal
impl TryFrom<U320> for PreciseDecimal
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: U320
) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<U320>>::Error>
fn try_from( val: U320 ) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<U320>>::Error>
source§impl TryFrom<U384> for PreciseDecimal
impl TryFrom<U384> for PreciseDecimal
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: U384
) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<U384>>::Error>
fn try_from( val: U384 ) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<U384>>::Error>
source§impl TryFrom<U448> for PreciseDecimal
impl TryFrom<U448> for PreciseDecimal
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: U448
) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<U448>>::Error>
fn try_from( val: U448 ) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<U448>>::Error>
source§impl TryFrom<U512> for PreciseDecimal
impl TryFrom<U512> for PreciseDecimal
§type Error = ParsePreciseDecimalError
type Error = ParsePreciseDecimalError
source§fn try_from(
val: U512
) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<U512>>::Error>
fn try_from( val: U512 ) -> Result<PreciseDecimal, <PreciseDecimal as TryFrom<U512>>::Error>
impl Copy for PreciseDecimal
impl Eq for PreciseDecimal
impl StructuralEq for PreciseDecimal
impl StructuralPartialEq for PreciseDecimal
Auto Trait Implementations§
impl RefUnwindSafe for PreciseDecimal
impl Send for PreciseDecimal
impl Sync for PreciseDecimal
impl Unpin for PreciseDecimal
impl UnwindSafe for PreciseDecimal
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere T: CastFrom<U>,
self
to type T
. The semantics of numeric casting with the as
operator are followed, so <T as As>::as_::<U>
can be used in the same way as T as U
for numeric conversions. Read moresource§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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.