There was an error while loading. Please reload this page.
6a976f9
AddAssign
+=
SubAssign
-=
BigDecimal
BigInt
&BigDecimal
i8
i16
i32
i64
i128
isize
u8
u16
u32
u64
u128
usize
&BigInt
let mut balance = BigDecimal::from(100); balance += 50; // Primitive integers balance -= BigInt::from(25); // BigInt values let mut count = BigInt::from(1000); count += 100; // Works for BigInt too count -= BigInt::from(50);