SafeInt

Struct SafeInt 

Source
pub struct SafeInt(/* private fields */);
Expand description

Arbitrary-precision integer wrapper that exposes safe, non-panicking operations.

§Examples

Create values from primitives and perform safe division (returns Option to avoid panics):

use safe_bigmath::SafeInt;

let a = SafeInt::from(10);
let b = SafeInt::from(3);
assert_eq!((&a / &b).unwrap(), SafeInt::from(3));
assert_eq!(&a + &b, SafeInt::from(13));
assert_eq!(SafeInt::from(5) / SafeInt::from(0), None);

Implementations§

Source§

impl SafeInt

Source

pub const ONE: ConstSafeInt<2>

Constant one value as a compile-time byte representation.

Source

pub const NEG_ONE: ConstSafeInt<2>

Constant negative one value as a compile-time byte representation.

Source

pub fn zero() -> SafeInt

Zero value.

Source

pub fn one() -> SafeInt

One value.

Source

pub fn neg_one() -> SafeInt

Negative one value.

Source

pub const fn raw(&self) -> &BigInt

Returns the underlying BigInt reference.

Source

pub const fn from_raw(value: BigInt) -> SafeInt

Constructs a SafeInt from a raw BigInt.

Source

pub fn is_negative(&self) -> bool

Returns true if the value is negative.

Source

pub fn is_even(&self) -> bool

Returns true if the value is evenly divisible by 2.

Source

pub fn is_odd(&self) -> bool

Returns true if the value is not evenly divisible by 2.

Source

pub fn is_zero(&self) -> bool

Returns true if the value is exactly zero.

Source

pub fn abs(self) -> SafeInt

Returns the absolute value.

Source

pub fn pow(self, exp: u32) -> SafeInt

Raises the number to an unsigned integer power.

Source

pub fn div_rem(self, other: SafeInt) -> Option<(SafeInt, SafeInt)>

Computes quotient and remainder simultaneously. Returns None if other is zero.

Source

pub fn to_u8(&self) -> Option<u8>

Converts to u8 if the value fits.

Source

pub fn to_u16(&self) -> Option<u16>

Converts to u16 if the value fits.

Source

pub fn to_u32(&self) -> Option<u32>

Converts to u32 if the value fits.

Source

pub fn to_u64(&self) -> Option<u64>

Converts to u64 if the value fits.

Source

pub fn to_u128(&self) -> Option<u128>

Converts to u128 if the value fits.

Source

pub fn to_i8(&self) -> Option<i8>

Converts to i8 if the value fits.

Source

pub fn to_i16(&self) -> Option<i16>

Converts to i16 if the value fits.

Source

pub fn to_i32(&self) -> Option<i32>

Converts to i32 if the value fits.

Source

pub fn to_i64(&self) -> Option<i64>

Converts to i64 if the value fits.

Source

pub fn to_i128(&self) -> Option<i128>

Converts to i128 if the value fits.

Source

pub fn to_usize(&self) -> Option<usize>

Converts to usize if the value fits.

Source

pub fn to_isize(&self) -> Option<isize>

Converts to isize if the value fits.

Source

pub fn ceil_div(&self, b: SafeInt) -> Option<SafeInt>

Performs integer ceiling division (self / b, rounded up).

Source

pub fn pow_ratio_scaled( base_numerator: &SafeInt, base_denominator: &SafeInt, exponent_numerator: &SafeInt, exponent_denominator: &SafeInt, precision: u32, scale: &SafeInt, ) -> Option<SafeInt>

Computes (base_numerator / base_denominator)^(exponent_numerator / exponent_denominator) scaled by the provided factor. Returns None if the base or exponent denominator is zero or if the base is non-positive. Uses an exact integer path when the exponent fits in 32 bits and is below MAX_EXACT_EXPONENT, and falls back to a fixed-point approximation with the requested precision otherwise. The fallback uses DEFAULT_MAX_ITERS as its iteration cap and stops earlier once rounded digits converge.

§Examples
use safe_bigmath::SafeInt;

// (2 / 3) ^ (1 / 2) * 1000 (approx) => 816 when floored
let result = SafeInt::pow_ratio_scaled(
    &SafeInt::from(2),
    &SafeInt::from(3),
    &SafeInt::from(1),
    &SafeInt::from(2),
    0,
    &SafeInt::from(1_000),
)
.unwrap();
assert_eq!(result, SafeInt::from(816));
Source

pub fn pow_ratio_scaled_with_max_iters( base_numerator: &SafeInt, base_denominator: &SafeInt, exponent_numerator: &SafeInt, exponent_denominator: &SafeInt, precision: u32, scale: &SafeInt, max_iters: Option<usize>, ) -> Option<SafeInt>

Same as [pow_ratio_scaled] but allows specifying a maximum iteration cap for the fixed-point approximation path. When None, DEFAULT_MAX_ITERS is used. The approximation still exits early when rounded digits converge.

Source

pub fn pow_bigint_base( base: &SafeInt, exponent_numerator: &SafeInt, exponent_denominator: &SafeInt, precision: u32, scale: &SafeInt, ) -> Option<SafeInt>

Exponentiate base to exponent. Base can be large integer number betwen 0 and u64::MAX Optimal exponent values are between 0.1 and 0.9

Trait Implementations§

Source§

impl<const D: usize> Add<&SafeDec<D>> for &SafeInt

Source§

type Output = SafeDec<D>

The resulting type after applying the + operator.
Source§

fn add(self, other: &SafeDec<D>) -> SafeDec<D>

Performs the + operation. Read more
Source§

impl<const D: usize> Add<&SafeDec<D>> for SafeInt

Source§

type Output = SafeDec<D>

The resulting type after applying the + operator.
Source§

fn add(self, other: &SafeDec<D>) -> SafeDec<D>

Performs the + operation. Read more
Source§

impl Add<&SafeInt> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: &SafeInt) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<&SafeInt> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: &SafeInt) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<&SafeInt> for i128

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: &SafeInt) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<&SafeInt> for i16

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: &SafeInt) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<&SafeInt> for i32

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: &SafeInt) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<&SafeInt> for i64

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: &SafeInt) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<&SafeInt> for i8

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: &SafeInt) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<&SafeInt> for isize

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: &SafeInt) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<&SafeInt> for u128

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: &SafeInt) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<&SafeInt> for u16

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: &SafeInt) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<&SafeInt> for u32

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: &SafeInt) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<&SafeInt> for u64

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: &SafeInt) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<&SafeInt> for u8

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: &SafeInt) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<&SafeInt> for usize

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: &SafeInt) -> SafeInt

Performs the + operation. Read more
Source§

impl<const D: usize> Add<SafeDec<D>> for &SafeInt

Source§

type Output = SafeDec<D>

The resulting type after applying the + operator.
Source§

fn add(self, other: SafeDec<D>) -> SafeDec<D>

Performs the + operation. Read more
Source§

impl<const D: usize> Add<SafeDec<D>> for SafeInt

Source§

type Output = SafeDec<D>

The resulting type after applying the + operator.
Source§

fn add(self, other: SafeDec<D>) -> SafeDec<D>

Performs the + operation. Read more
Source§

impl Add<SafeInt> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: SafeInt) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<SafeInt> for i128

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: SafeInt) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<SafeInt> for i16

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: SafeInt) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<SafeInt> for i32

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: SafeInt) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<SafeInt> for i64

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: SafeInt) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<SafeInt> for i8

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: SafeInt) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<SafeInt> for isize

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: SafeInt) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<SafeInt> for u128

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: SafeInt) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<SafeInt> for u16

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: SafeInt) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<SafeInt> for u32

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: SafeInt) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<SafeInt> for u64

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: SafeInt) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<SafeInt> for u8

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: SafeInt) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<SafeInt> for usize

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: SafeInt) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<i128> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: i128) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<i128> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: i128) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<i16> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: i16) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<i16> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: i16) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<i32> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: i32) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<i32> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: i32) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<i64> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: i64) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<i64> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: i64) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<i8> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: i8) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<i8> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: i8) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<isize> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: isize) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<isize> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: isize) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<u128> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: u128) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<u128> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: u128) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<u16> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: u16) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<u16> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: u16) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<u32> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: u32) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<u32> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: u32) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<u64> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: u64) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<u64> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: u64) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<u8> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: u8) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<u8> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: u8) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<usize> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: usize) -> SafeInt

Performs the + operation. Read more
Source§

impl Add<usize> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: usize) -> SafeInt

Performs the + operation. Read more
Source§

impl Add for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the + operator.
Source§

fn add(self, other: SafeInt) -> SafeInt

Performs the + operation. Read more
Source§

impl AddAssign<&SafeInt> for SafeInt

Source§

fn add_assign(&mut self, rhs: &SafeInt)

Performs the += operation. Read more
Source§

impl AddAssign<i128> for SafeInt

Source§

fn add_assign(&mut self, rhs: i128)

Performs the += operation. Read more
Source§

impl AddAssign<i16> for SafeInt

Source§

fn add_assign(&mut self, rhs: i16)

Performs the += operation. Read more
Source§

impl AddAssign<i32> for SafeInt

Source§

fn add_assign(&mut self, rhs: i32)

Performs the += operation. Read more
Source§

impl AddAssign<i64> for SafeInt

Source§

fn add_assign(&mut self, rhs: i64)

Performs the += operation. Read more
Source§

impl AddAssign<i8> for SafeInt

Source§

fn add_assign(&mut self, rhs: i8)

Performs the += operation. Read more
Source§

impl AddAssign<isize> for SafeInt

Source§

fn add_assign(&mut self, rhs: isize)

Performs the += operation. Read more
Source§

impl AddAssign<u128> for SafeInt

Source§

fn add_assign(&mut self, rhs: u128)

Performs the += operation. Read more
Source§

impl AddAssign<u16> for SafeInt

Source§

fn add_assign(&mut self, rhs: u16)

Performs the += operation. Read more
Source§

impl AddAssign<u32> for SafeInt

Source§

fn add_assign(&mut self, rhs: u32)

Performs the += operation. Read more
Source§

impl AddAssign<u64> for SafeInt

Source§

fn add_assign(&mut self, rhs: u64)

Performs the += operation. Read more
Source§

impl AddAssign<u8> for SafeInt

Source§

fn add_assign(&mut self, rhs: u8)

Performs the += operation. Read more
Source§

impl AddAssign<usize> for SafeInt

Source§

fn add_assign(&mut self, rhs: usize)

Performs the += operation. Read more
Source§

impl AddAssign for SafeInt

Source§

fn add_assign(&mut self, rhs: SafeInt)

Performs the += operation. Read more
Source§

impl<const D: usize> BitAnd<&SafeDec<D>> for &SafeInt

Source§

type Output = SafeDec<D>

The resulting type after applying the & operator.
Source§

fn bitand(self, other: &SafeDec<D>) -> SafeDec<D>

Performs the & operation. Read more
Source§

impl<const D: usize> BitAnd<&SafeDec<D>> for SafeInt

Source§

type Output = SafeDec<D>

The resulting type after applying the & operator.
Source§

fn bitand(self, other: &SafeDec<D>) -> SafeDec<D>

Performs the & operation. Read more
Source§

impl BitAnd<&SafeInt> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: &SafeInt) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<&SafeInt> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: &SafeInt) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<&SafeInt> for i128

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: &SafeInt) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<&SafeInt> for i16

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: &SafeInt) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<&SafeInt> for i32

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: &SafeInt) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<&SafeInt> for i64

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: &SafeInt) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<&SafeInt> for i8

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: &SafeInt) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<&SafeInt> for isize

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: &SafeInt) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<&SafeInt> for u128

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: &SafeInt) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<&SafeInt> for u16

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: &SafeInt) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<&SafeInt> for u32

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: &SafeInt) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<&SafeInt> for u64

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: &SafeInt) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<&SafeInt> for u8

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: &SafeInt) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<&SafeInt> for usize

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: &SafeInt) -> SafeInt

Performs the & operation. Read more
Source§

impl<const D: usize> BitAnd<SafeDec<D>> for &SafeInt

Source§

type Output = SafeDec<D>

The resulting type after applying the & operator.
Source§

fn bitand(self, other: SafeDec<D>) -> SafeDec<D>

Performs the & operation. Read more
Source§

impl<const D: usize> BitAnd<SafeDec<D>> for SafeInt

Source§

type Output = SafeDec<D>

The resulting type after applying the & operator.
Source§

fn bitand(self, other: SafeDec<D>) -> SafeDec<D>

Performs the & operation. Read more
Source§

impl BitAnd<SafeInt> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: SafeInt) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<SafeInt> for i128

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: SafeInt) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<SafeInt> for i16

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: SafeInt) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<SafeInt> for i32

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: SafeInt) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<SafeInt> for i64

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: SafeInt) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<SafeInt> for i8

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: SafeInt) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<SafeInt> for isize

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: SafeInt) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<SafeInt> for u128

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: SafeInt) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<SafeInt> for u16

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: SafeInt) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<SafeInt> for u32

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: SafeInt) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<SafeInt> for u64

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: SafeInt) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<SafeInt> for u8

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: SafeInt) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<SafeInt> for usize

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: SafeInt) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<i128> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: i128) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<i128> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: i128) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<i16> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: i16) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<i16> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: i16) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<i32> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: i32) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<i32> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: i32) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<i64> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: i64) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<i64> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: i64) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<i8> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: i8) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<i8> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: i8) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<isize> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: isize) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<isize> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: isize) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<u128> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: u128) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<u128> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: u128) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<u16> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: u16) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<u16> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: u16) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<u32> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: u32) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<u32> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: u32) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<u64> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: u64) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<u64> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: u64) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<u8> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: u8) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<u8> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: u8) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<usize> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: usize) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd<usize> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: usize) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAnd for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the & operator.
Source§

fn bitand(self, other: SafeInt) -> SafeInt

Performs the & operation. Read more
Source§

impl BitAndAssign<&SafeInt> for SafeInt

Source§

fn bitand_assign(&mut self, rhs: &SafeInt)

Performs the &= operation. Read more
Source§

impl BitAndAssign<i128> for SafeInt

Source§

fn bitand_assign(&mut self, rhs: i128)

Performs the &= operation. Read more
Source§

impl BitAndAssign<i16> for SafeInt

Source§

fn bitand_assign(&mut self, rhs: i16)

Performs the &= operation. Read more
Source§

impl BitAndAssign<i32> for SafeInt

Source§

fn bitand_assign(&mut self, rhs: i32)

Performs the &= operation. Read more
Source§

impl BitAndAssign<i64> for SafeInt

Source§

fn bitand_assign(&mut self, rhs: i64)

Performs the &= operation. Read more
Source§

impl BitAndAssign<i8> for SafeInt

Source§

fn bitand_assign(&mut self, rhs: i8)

Performs the &= operation. Read more
Source§

impl BitAndAssign<isize> for SafeInt

Source§

fn bitand_assign(&mut self, rhs: isize)

Performs the &= operation. Read more
Source§

impl BitAndAssign<u128> for SafeInt

Source§

fn bitand_assign(&mut self, rhs: u128)

Performs the &= operation. Read more
Source§

impl BitAndAssign<u16> for SafeInt

Source§

fn bitand_assign(&mut self, rhs: u16)

Performs the &= operation. Read more
Source§

impl BitAndAssign<u32> for SafeInt

Source§

fn bitand_assign(&mut self, rhs: u32)

Performs the &= operation. Read more
Source§

impl BitAndAssign<u64> for SafeInt

Source§

fn bitand_assign(&mut self, rhs: u64)

Performs the &= operation. Read more
Source§

impl BitAndAssign<u8> for SafeInt

Source§

fn bitand_assign(&mut self, rhs: u8)

Performs the &= operation. Read more
Source§

impl BitAndAssign<usize> for SafeInt

Source§

fn bitand_assign(&mut self, rhs: usize)

Performs the &= operation. Read more
Source§

impl BitAndAssign for SafeInt

Source§

fn bitand_assign(&mut self, rhs: SafeInt)

Performs the &= operation. Read more
Source§

impl<const D: usize> BitOr<&SafeDec<D>> for &SafeInt

Source§

type Output = SafeDec<D>

The resulting type after applying the | operator.
Source§

fn bitor(self, other: &SafeDec<D>) -> SafeDec<D>

Performs the | operation. Read more
Source§

impl<const D: usize> BitOr<&SafeDec<D>> for SafeInt

Source§

type Output = SafeDec<D>

The resulting type after applying the | operator.
Source§

fn bitor(self, other: &SafeDec<D>) -> SafeDec<D>

Performs the | operation. Read more
Source§

impl BitOr<&SafeInt> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: &SafeInt) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<&SafeInt> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: &SafeInt) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<&SafeInt> for i128

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: &SafeInt) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<&SafeInt> for i16

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: &SafeInt) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<&SafeInt> for i32

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: &SafeInt) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<&SafeInt> for i64

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: &SafeInt) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<&SafeInt> for i8

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: &SafeInt) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<&SafeInt> for isize

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: &SafeInt) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<&SafeInt> for u128

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: &SafeInt) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<&SafeInt> for u16

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: &SafeInt) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<&SafeInt> for u32

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: &SafeInt) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<&SafeInt> for u64

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: &SafeInt) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<&SafeInt> for u8

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: &SafeInt) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<&SafeInt> for usize

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: &SafeInt) -> SafeInt

Performs the | operation. Read more
Source§

impl<const D: usize> BitOr<SafeDec<D>> for &SafeInt

Source§

type Output = SafeDec<D>

The resulting type after applying the | operator.
Source§

fn bitor(self, other: SafeDec<D>) -> SafeDec<D>

Performs the | operation. Read more
Source§

impl<const D: usize> BitOr<SafeDec<D>> for SafeInt

Source§

type Output = SafeDec<D>

The resulting type after applying the | operator.
Source§

fn bitor(self, other: SafeDec<D>) -> SafeDec<D>

Performs the | operation. Read more
Source§

impl BitOr<SafeInt> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: SafeInt) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<SafeInt> for i128

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: SafeInt) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<SafeInt> for i16

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: SafeInt) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<SafeInt> for i32

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: SafeInt) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<SafeInt> for i64

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: SafeInt) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<SafeInt> for i8

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: SafeInt) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<SafeInt> for isize

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: SafeInt) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<SafeInt> for u128

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: SafeInt) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<SafeInt> for u16

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: SafeInt) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<SafeInt> for u32

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: SafeInt) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<SafeInt> for u64

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: SafeInt) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<SafeInt> for u8

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: SafeInt) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<SafeInt> for usize

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: SafeInt) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<i128> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: i128) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<i128> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: i128) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<i16> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: i16) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<i16> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: i16) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<i32> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: i32) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<i32> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: i32) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<i64> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: i64) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<i64> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: i64) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<i8> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: i8) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<i8> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: i8) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<isize> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: isize) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<isize> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: isize) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<u128> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: u128) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<u128> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: u128) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<u16> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: u16) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<u16> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: u16) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<u32> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: u32) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<u32> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: u32) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<u64> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: u64) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<u64> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: u64) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<u8> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: u8) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<u8> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: u8) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<usize> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: usize) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr<usize> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: usize) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOr for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the | operator.
Source§

fn bitor(self, other: SafeInt) -> SafeInt

Performs the | operation. Read more
Source§

impl BitOrAssign<&SafeInt> for SafeInt

Source§

fn bitor_assign(&mut self, rhs: &SafeInt)

Performs the |= operation. Read more
Source§

impl BitOrAssign<i128> for SafeInt

Source§

fn bitor_assign(&mut self, rhs: i128)

Performs the |= operation. Read more
Source§

impl BitOrAssign<i16> for SafeInt

Source§

fn bitor_assign(&mut self, rhs: i16)

Performs the |= operation. Read more
Source§

impl BitOrAssign<i32> for SafeInt

Source§

fn bitor_assign(&mut self, rhs: i32)

Performs the |= operation. Read more
Source§

impl BitOrAssign<i64> for SafeInt

Source§

fn bitor_assign(&mut self, rhs: i64)

Performs the |= operation. Read more
Source§

impl BitOrAssign<i8> for SafeInt

Source§

fn bitor_assign(&mut self, rhs: i8)

Performs the |= operation. Read more
Source§

impl BitOrAssign<isize> for SafeInt

Source§

fn bitor_assign(&mut self, rhs: isize)

Performs the |= operation. Read more
Source§

impl BitOrAssign<u128> for SafeInt

Source§

fn bitor_assign(&mut self, rhs: u128)

Performs the |= operation. Read more
Source§

impl BitOrAssign<u16> for SafeInt

Source§

fn bitor_assign(&mut self, rhs: u16)

Performs the |= operation. Read more
Source§

impl BitOrAssign<u32> for SafeInt

Source§

fn bitor_assign(&mut self, rhs: u32)

Performs the |= operation. Read more
Source§

impl BitOrAssign<u64> for SafeInt

Source§

fn bitor_assign(&mut self, rhs: u64)

Performs the |= operation. Read more
Source§

impl BitOrAssign<u8> for SafeInt

Source§

fn bitor_assign(&mut self, rhs: u8)

Performs the |= operation. Read more
Source§

impl BitOrAssign<usize> for SafeInt

Source§

fn bitor_assign(&mut self, rhs: usize)

Performs the |= operation. Read more
Source§

impl BitOrAssign for SafeInt

Source§

fn bitor_assign(&mut self, rhs: SafeInt)

Performs the |= operation. Read more
Source§

impl<const D: usize> BitXor<&SafeDec<D>> for &SafeInt

Source§

type Output = SafeDec<D>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: &SafeDec<D>) -> SafeDec<D>

Performs the ^ operation. Read more
Source§

impl<const D: usize> BitXor<&SafeDec<D>> for SafeInt

Source§

type Output = SafeDec<D>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: &SafeDec<D>) -> SafeDec<D>

Performs the ^ operation. Read more
Source§

impl BitXor<&SafeInt> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: &SafeInt) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<&SafeInt> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: &SafeInt) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<&SafeInt> for i128

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: &SafeInt) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<&SafeInt> for i16

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: &SafeInt) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<&SafeInt> for i32

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: &SafeInt) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<&SafeInt> for i64

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: &SafeInt) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<&SafeInt> for i8

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: &SafeInt) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<&SafeInt> for isize

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: &SafeInt) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<&SafeInt> for u128

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: &SafeInt) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<&SafeInt> for u16

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: &SafeInt) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<&SafeInt> for u32

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: &SafeInt) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<&SafeInt> for u64

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: &SafeInt) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<&SafeInt> for u8

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: &SafeInt) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<&SafeInt> for usize

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: &SafeInt) -> SafeInt

Performs the ^ operation. Read more
Source§

impl<const D: usize> BitXor<SafeDec<D>> for &SafeInt

Source§

type Output = SafeDec<D>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: SafeDec<D>) -> SafeDec<D>

Performs the ^ operation. Read more
Source§

impl<const D: usize> BitXor<SafeDec<D>> for SafeInt

Source§

type Output = SafeDec<D>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: SafeDec<D>) -> SafeDec<D>

Performs the ^ operation. Read more
Source§

impl BitXor<SafeInt> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: SafeInt) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<SafeInt> for i128

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: SafeInt) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<SafeInt> for i16

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: SafeInt) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<SafeInt> for i32

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: SafeInt) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<SafeInt> for i64

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: SafeInt) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<SafeInt> for i8

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: SafeInt) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<SafeInt> for isize

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: SafeInt) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<SafeInt> for u128

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: SafeInt) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<SafeInt> for u16

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: SafeInt) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<SafeInt> for u32

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: SafeInt) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<SafeInt> for u64

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: SafeInt) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<SafeInt> for u8

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: SafeInt) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<SafeInt> for usize

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: SafeInt) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<i128> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: i128) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<i128> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: i128) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<i16> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: i16) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<i16> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: i16) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<i32> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: i32) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<i32> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: i32) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<i64> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: i64) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<i64> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: i64) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<i8> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: i8) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<i8> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: i8) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<isize> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: isize) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<isize> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: isize) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<u128> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: u128) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<u128> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: u128) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<u16> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: u16) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<u16> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: u16) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<u32> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: u32) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<u32> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: u32) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<u64> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: u64) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<u64> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: u64) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<u8> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: u8) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<u8> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: u8) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<usize> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: usize) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor<usize> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: usize) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXor for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: SafeInt) -> SafeInt

Performs the ^ operation. Read more
Source§

impl BitXorAssign<&SafeInt> for SafeInt

Source§

fn bitxor_assign(&mut self, rhs: &SafeInt)

Performs the ^= operation. Read more
Source§

impl BitXorAssign<i128> for SafeInt

Source§

fn bitxor_assign(&mut self, rhs: i128)

Performs the ^= operation. Read more
Source§

impl BitXorAssign<i16> for SafeInt

Source§

fn bitxor_assign(&mut self, rhs: i16)

Performs the ^= operation. Read more
Source§

impl BitXorAssign<i32> for SafeInt

Source§

fn bitxor_assign(&mut self, rhs: i32)

Performs the ^= operation. Read more
Source§

impl BitXorAssign<i64> for SafeInt

Source§

fn bitxor_assign(&mut self, rhs: i64)

Performs the ^= operation. Read more
Source§

impl BitXorAssign<i8> for SafeInt

Source§

fn bitxor_assign(&mut self, rhs: i8)

Performs the ^= operation. Read more
Source§

impl BitXorAssign<isize> for SafeInt

Source§

fn bitxor_assign(&mut self, rhs: isize)

Performs the ^= operation. Read more
Source§

impl BitXorAssign<u128> for SafeInt

Source§

fn bitxor_assign(&mut self, rhs: u128)

Performs the ^= operation. Read more
Source§

impl BitXorAssign<u16> for SafeInt

Source§

fn bitxor_assign(&mut self, rhs: u16)

Performs the ^= operation. Read more
Source§

impl BitXorAssign<u32> for SafeInt

Source§

fn bitxor_assign(&mut self, rhs: u32)

Performs the ^= operation. Read more
Source§

impl BitXorAssign<u64> for SafeInt

Source§

fn bitxor_assign(&mut self, rhs: u64)

Performs the ^= operation. Read more
Source§

impl BitXorAssign<u8> for SafeInt

Source§

fn bitxor_assign(&mut self, rhs: u8)

Performs the ^= operation. Read more
Source§

impl BitXorAssign<usize> for SafeInt

Source§

fn bitxor_assign(&mut self, rhs: usize)

Performs the ^= operation. Read more
Source§

impl BitXorAssign for SafeInt

Source§

fn bitxor_assign(&mut self, rhs: SafeInt)

Performs the ^= operation. Read more
Source§

impl Clone for SafeInt

Source§

fn clone(&self) -> SafeInt

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for SafeInt

Source§

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

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

impl Default for SafeInt

Source§

fn default() -> SafeInt

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

impl Display for SafeInt

Source§

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

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

impl<const D: usize> Div<&SafeDec<D>> for &SafeInt

Source§

type Output = Option<SafeDec<D>>

The resulting type after applying the / operator.
Source§

fn div(self, other: &SafeDec<D>) -> Option<SafeDec<D>>

Performs the / operation. Read more
Source§

impl<const D: usize> Div<&SafeDec<D>> for SafeInt

Source§

type Output = Option<SafeDec<D>>

The resulting type after applying the / operator.
Source§

fn div(self, other: &SafeDec<D>) -> Option<SafeDec<D>>

Performs the / operation. Read more
Source§

impl<const D: usize> Div<&SafeInt> for &SafeDec<D>

Source§

type Output = Option<SafeDec<D>>

The resulting type after applying the / operator.
Source§

fn div(self, other: &SafeInt) -> Option<SafeDec<D>>

Performs the / operation. Read more
Source§

impl Div<&SafeInt> for &SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: &SafeInt) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl<const D: usize> Div<&SafeInt> for SafeDec<D>

Source§

type Output = Option<SafeDec<D>>

The resulting type after applying the / operator.
Source§

fn div(self, other: &SafeInt) -> Option<SafeDec<D>>

Performs the / operation. Read more
Source§

impl Div<&SafeInt> for SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: &SafeInt) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<&SafeInt> for i128

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: &SafeInt) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<&SafeInt> for i16

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: &SafeInt) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<&SafeInt> for i32

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: &SafeInt) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<&SafeInt> for i64

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: &SafeInt) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<&SafeInt> for i8

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: &SafeInt) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<&SafeInt> for isize

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: &SafeInt) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<&SafeInt> for u128

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: &SafeInt) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<&SafeInt> for u16

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: &SafeInt) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<&SafeInt> for u32

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: &SafeInt) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<&SafeInt> for u64

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: &SafeInt) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<&SafeInt> for u8

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: &SafeInt) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<&SafeInt> for usize

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: &SafeInt) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl<const D: usize> Div<SafeDec<D>> for &SafeInt

Source§

type Output = Option<SafeDec<D>>

The resulting type after applying the / operator.
Source§

fn div(self, other: SafeDec<D>) -> Option<SafeDec<D>>

Performs the / operation. Read more
Source§

impl<const D: usize> Div<SafeDec<D>> for SafeInt

Source§

type Output = Option<SafeDec<D>>

The resulting type after applying the / operator.
Source§

fn div(self, other: SafeDec<D>) -> Option<SafeDec<D>>

Performs the / operation. Read more
Source§

impl<const D: usize> Div<SafeInt> for &SafeDec<D>

Source§

type Output = Option<SafeDec<D>>

The resulting type after applying the / operator.
Source§

fn div(self, other: SafeInt) -> Option<SafeDec<D>>

Performs the / operation. Read more
Source§

impl Div<SafeInt> for &SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: SafeInt) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl<const D: usize> Div<SafeInt> for SafeDec<D>

Source§

type Output = Option<SafeDec<D>>

The resulting type after applying the / operator.
Source§

fn div(self, other: SafeInt) -> Option<SafeDec<D>>

Performs the / operation. Read more
Source§

impl Div<SafeInt> for i128

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: SafeInt) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<SafeInt> for i16

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: SafeInt) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<SafeInt> for i32

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: SafeInt) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<SafeInt> for i64

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: SafeInt) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<SafeInt> for i8

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: SafeInt) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<SafeInt> for isize

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: SafeInt) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<SafeInt> for u128

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: SafeInt) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<SafeInt> for u16

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: SafeInt) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<SafeInt> for u32

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: SafeInt) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<SafeInt> for u64

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: SafeInt) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<SafeInt> for u8

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: SafeInt) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<SafeInt> for usize

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: SafeInt) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<i128> for &SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: i128) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<i128> for SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: i128) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<i16> for &SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: i16) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<i16> for SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: i16) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<i32> for &SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: i32) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<i32> for SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: i32) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<i64> for &SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: i64) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<i64> for SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: i64) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<i8> for &SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: i8) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<i8> for SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: i8) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<isize> for &SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: isize) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<isize> for SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: isize) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<u128> for &SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: u128) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<u128> for SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: u128) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<u16> for &SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: u16) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<u16> for SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: u16) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<u32> for &SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: u32) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<u32> for SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: u32) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<u64> for &SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: u64) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<u64> for SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: u64) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<u8> for &SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: u8) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<u8> for SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: u8) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<usize> for &SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: usize) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div<usize> for SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: usize) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl Div for SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the / operator.
Source§

fn div(self, other: SafeInt) -> Option<SafeInt>

Performs the / operation. Read more
Source§

impl<const N: usize> From<&ConstSafeInt<N>> for SafeInt

Source§

fn from(value: &ConstSafeInt<N>) -> SafeInt

Converts to this type from the input type.
Source§

impl<const N: usize> From<ConstSafeInt<N>> for SafeInt

Source§

fn from(value: ConstSafeInt<N>) -> SafeInt

Converts to this type from the input type.
Source§

impl<T: Into<BigInt>> From<T> for SafeInt

Source§

fn from(value: T) -> SafeInt

Converts to this type from the input type.
Source§

impl FromStr for SafeInt

Source§

type Err = Error

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

fn from_str(s: &str) -> Result<Self, Self::Err>

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

impl Hash for SafeInt

Source§

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

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

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

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

impl<const D: usize> Mul<&SafeDec<D>> for &SafeInt

Source§

type Output = SafeDec<D>

The resulting type after applying the * operator.
Source§

fn mul(self, other: &SafeDec<D>) -> SafeDec<D>

Performs the * operation. Read more
Source§

impl<const D: usize> Mul<&SafeDec<D>> for SafeInt

Source§

type Output = SafeDec<D>

The resulting type after applying the * operator.
Source§

fn mul(self, other: &SafeDec<D>) -> SafeDec<D>

Performs the * operation. Read more
Source§

impl Mul<&SafeInt> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: &SafeInt) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<&SafeInt> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: &SafeInt) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<&SafeInt> for i128

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: &SafeInt) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<&SafeInt> for i16

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: &SafeInt) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<&SafeInt> for i32

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: &SafeInt) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<&SafeInt> for i64

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: &SafeInt) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<&SafeInt> for i8

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: &SafeInt) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<&SafeInt> for isize

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: &SafeInt) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<&SafeInt> for u128

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: &SafeInt) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<&SafeInt> for u16

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: &SafeInt) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<&SafeInt> for u32

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: &SafeInt) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<&SafeInt> for u64

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: &SafeInt) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<&SafeInt> for u8

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: &SafeInt) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<&SafeInt> for usize

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: &SafeInt) -> SafeInt

Performs the * operation. Read more
Source§

impl<const D: usize> Mul<SafeDec<D>> for &SafeInt

Source§

type Output = SafeDec<D>

The resulting type after applying the * operator.
Source§

fn mul(self, other: SafeDec<D>) -> SafeDec<D>

Performs the * operation. Read more
Source§

impl<const D: usize> Mul<SafeDec<D>> for SafeInt

Source§

type Output = SafeDec<D>

The resulting type after applying the * operator.
Source§

fn mul(self, other: SafeDec<D>) -> SafeDec<D>

Performs the * operation. Read more
Source§

impl Mul<SafeInt> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: SafeInt) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<SafeInt> for i128

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: SafeInt) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<SafeInt> for i16

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: SafeInt) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<SafeInt> for i32

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: SafeInt) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<SafeInt> for i64

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: SafeInt) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<SafeInt> for i8

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: SafeInt) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<SafeInt> for isize

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: SafeInt) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<SafeInt> for u128

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: SafeInt) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<SafeInt> for u16

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: SafeInt) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<SafeInt> for u32

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: SafeInt) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<SafeInt> for u64

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: SafeInt) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<SafeInt> for u8

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: SafeInt) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<SafeInt> for usize

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: SafeInt) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<i128> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: i128) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<i128> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: i128) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<i16> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: i16) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<i16> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: i16) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<i32> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: i32) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<i32> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: i32) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<i64> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: i64) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<i64> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: i64) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<i8> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: i8) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<i8> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: i8) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<isize> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: isize) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<isize> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: isize) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<u128> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: u128) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<u128> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: u128) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<u16> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: u16) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<u16> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: u16) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<u32> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: u32) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<u32> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: u32) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<u64> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: u64) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<u64> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: u64) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<u8> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: u8) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<u8> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: u8) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<usize> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: usize) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul<usize> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: usize) -> SafeInt

Performs the * operation. Read more
Source§

impl Mul for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the * operator.
Source§

fn mul(self, other: SafeInt) -> SafeInt

Performs the * operation. Read more
Source§

impl MulAssign<&SafeInt> for SafeInt

Source§

fn mul_assign(&mut self, rhs: &SafeInt)

Performs the *= operation. Read more
Source§

impl MulAssign<i128> for SafeInt

Source§

fn mul_assign(&mut self, rhs: i128)

Performs the *= operation. Read more
Source§

impl MulAssign<i16> for SafeInt

Source§

fn mul_assign(&mut self, rhs: i16)

Performs the *= operation. Read more
Source§

impl MulAssign<i32> for SafeInt

Source§

fn mul_assign(&mut self, rhs: i32)

Performs the *= operation. Read more
Source§

impl MulAssign<i64> for SafeInt

Source§

fn mul_assign(&mut self, rhs: i64)

Performs the *= operation. Read more
Source§

impl MulAssign<i8> for SafeInt

Source§

fn mul_assign(&mut self, rhs: i8)

Performs the *= operation. Read more
Source§

impl MulAssign<isize> for SafeInt

Source§

fn mul_assign(&mut self, rhs: isize)

Performs the *= operation. Read more
Source§

impl MulAssign<u128> for SafeInt

Source§

fn mul_assign(&mut self, rhs: u128)

Performs the *= operation. Read more
Source§

impl MulAssign<u16> for SafeInt

Source§

fn mul_assign(&mut self, rhs: u16)

Performs the *= operation. Read more
Source§

impl MulAssign<u32> for SafeInt

Source§

fn mul_assign(&mut self, rhs: u32)

Performs the *= operation. Read more
Source§

impl MulAssign<u64> for SafeInt

Source§

fn mul_assign(&mut self, rhs: u64)

Performs the *= operation. Read more
Source§

impl MulAssign<u8> for SafeInt

Source§

fn mul_assign(&mut self, rhs: u8)

Performs the *= operation. Read more
Source§

impl MulAssign<usize> for SafeInt

Source§

fn mul_assign(&mut self, rhs: usize)

Performs the *= operation. Read more
Source§

impl MulAssign for SafeInt

Source§

fn mul_assign(&mut self, rhs: SafeInt)

Performs the *= operation. Read more
Source§

impl Neg for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn neg(self) -> SafeInt

Performs the unary - operation. Read more
Source§

impl Neg for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn neg(self) -> SafeInt

Performs the unary - operation. Read more
Source§

impl Ord for SafeInt

Source§

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

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

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

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

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

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

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

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

impl PartialEq<SafeInt> for i128

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<SafeInt> for i16

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<SafeInt> for i32

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<SafeInt> for i64

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<SafeInt> for i8

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<SafeInt> for isize

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<SafeInt> for u128

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<SafeInt> for u16

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<SafeInt> for u32

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<SafeInt> for u64

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<SafeInt> for u8

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<SafeInt> for usize

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<T> PartialEq<T> for SafeInt
where T: Copy, BigInt: From<T>,

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq for SafeInt

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd<SafeInt> for i128

Source§

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

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

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

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

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

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

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl PartialOrd<SafeInt> for i16

Source§

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

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

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

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

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

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

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl PartialOrd<SafeInt> for i32

Source§

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

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

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

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

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

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

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl PartialOrd<SafeInt> for i64

Source§

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

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

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

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

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

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

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl PartialOrd<SafeInt> for i8

Source§

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

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

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

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

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

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

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl PartialOrd<SafeInt> for isize

Source§

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

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

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

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

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

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

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl PartialOrd<SafeInt> for u128

Source§

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

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

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

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

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

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

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl PartialOrd<SafeInt> for u16

Source§

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

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

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

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

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

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

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl PartialOrd<SafeInt> for u32

Source§

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

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

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

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

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

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

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl PartialOrd<SafeInt> for u64

Source§

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

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

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

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

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

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

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl PartialOrd<SafeInt> for u8

Source§

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

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

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

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

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

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

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl PartialOrd<SafeInt> for usize

Source§

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

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

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

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

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

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

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl<T> PartialOrd<T> for SafeInt
where T: Copy, BigInt: From<T>,

Source§

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

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

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

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

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

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

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl PartialOrd for SafeInt

Source§

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

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

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

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

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

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

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Rem<&SafeInt> for &SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: &SafeInt) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<&SafeInt> for SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: &SafeInt) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<&SafeInt> for i128

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: &SafeInt) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<&SafeInt> for i16

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: &SafeInt) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<&SafeInt> for i32

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: &SafeInt) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<&SafeInt> for i64

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: &SafeInt) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<&SafeInt> for i8

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: &SafeInt) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<&SafeInt> for isize

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: &SafeInt) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<&SafeInt> for u128

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: &SafeInt) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<&SafeInt> for u16

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: &SafeInt) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<&SafeInt> for u32

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: &SafeInt) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<&SafeInt> for u64

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: &SafeInt) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<&SafeInt> for u8

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: &SafeInt) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<&SafeInt> for usize

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: &SafeInt) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<SafeInt> for &SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: SafeInt) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<SafeInt> for i128

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: SafeInt) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<SafeInt> for i16

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: SafeInt) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<SafeInt> for i32

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: SafeInt) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<SafeInt> for i64

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: SafeInt) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<SafeInt> for i8

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: SafeInt) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<SafeInt> for isize

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: SafeInt) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<SafeInt> for u128

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: SafeInt) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<SafeInt> for u16

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: SafeInt) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<SafeInt> for u32

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: SafeInt) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<SafeInt> for u64

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: SafeInt) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<SafeInt> for u8

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: SafeInt) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<SafeInt> for usize

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: SafeInt) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<i128> for &SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: i128) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<i128> for SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: i128) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<i16> for &SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: i16) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<i16> for SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: i16) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<i32> for &SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: i32) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<i32> for SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: i32) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<i64> for &SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: i64) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<i64> for SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: i64) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<i8> for &SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: i8) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<i8> for SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: i8) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<isize> for &SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: isize) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<isize> for SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: isize) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<u128> for &SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: u128) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<u128> for SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: u128) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<u16> for &SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: u16) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<u16> for SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: u16) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<u32> for &SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: u32) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<u32> for SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: u32) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<u64> for &SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: u64) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<u64> for SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: u64) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<u8> for &SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: u8) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<u8> for SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: u8) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<usize> for &SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: usize) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem<usize> for SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: usize) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl Rem for SafeInt

Source§

type Output = Option<SafeInt>

The resulting type after applying the % operator.
Source§

fn rem(self, other: SafeInt) -> Option<SafeInt>

Performs the % operation. Read more
Source§

impl RemAssign<&SafeInt> for SafeInt

Source§

fn rem_assign(&mut self, rhs: &SafeInt)

Performs the %= operation. Read more
Source§

impl RemAssign<i128> for SafeInt

Source§

fn rem_assign(&mut self, rhs: i128)

Performs the %= operation. Read more
Source§

impl RemAssign<i16> for SafeInt

Source§

fn rem_assign(&mut self, rhs: i16)

Performs the %= operation. Read more
Source§

impl RemAssign<i32> for SafeInt

Source§

fn rem_assign(&mut self, rhs: i32)

Performs the %= operation. Read more
Source§

impl RemAssign<i64> for SafeInt

Source§

fn rem_assign(&mut self, rhs: i64)

Performs the %= operation. Read more
Source§

impl RemAssign<i8> for SafeInt

Source§

fn rem_assign(&mut self, rhs: i8)

Performs the %= operation. Read more
Source§

impl RemAssign<isize> for SafeInt

Source§

fn rem_assign(&mut self, rhs: isize)

Performs the %= operation. Read more
Source§

impl RemAssign<u128> for SafeInt

Source§

fn rem_assign(&mut self, rhs: u128)

Performs the %= operation. Read more
Source§

impl RemAssign<u16> for SafeInt

Source§

fn rem_assign(&mut self, rhs: u16)

Performs the %= operation. Read more
Source§

impl RemAssign<u32> for SafeInt

Source§

fn rem_assign(&mut self, rhs: u32)

Performs the %= operation. Read more
Source§

impl RemAssign<u64> for SafeInt

Source§

fn rem_assign(&mut self, rhs: u64)

Performs the %= operation. Read more
Source§

impl RemAssign<u8> for SafeInt

Source§

fn rem_assign(&mut self, rhs: u8)

Performs the %= operation. Read more
Source§

impl RemAssign<usize> for SafeInt

Source§

fn rem_assign(&mut self, rhs: usize)

Performs the %= operation. Read more
Source§

impl RemAssign for SafeInt

Source§

fn rem_assign(&mut self, rhs: SafeInt)

Performs the %= operation. Read more
Source§

impl<const D: usize> Sub<&SafeDec<D>> for &SafeInt

Source§

type Output = SafeDec<D>

The resulting type after applying the - operator.
Source§

fn sub(self, other: &SafeDec<D>) -> SafeDec<D>

Performs the - operation. Read more
Source§

impl<const D: usize> Sub<&SafeDec<D>> for SafeInt

Source§

type Output = SafeDec<D>

The resulting type after applying the - operator.
Source§

fn sub(self, other: &SafeDec<D>) -> SafeDec<D>

Performs the - operation. Read more
Source§

impl Sub<&SafeInt> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: &SafeInt) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<&SafeInt> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: &SafeInt) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<&SafeInt> for i128

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: &SafeInt) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<&SafeInt> for i16

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: &SafeInt) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<&SafeInt> for i32

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: &SafeInt) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<&SafeInt> for i64

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: &SafeInt) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<&SafeInt> for i8

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: &SafeInt) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<&SafeInt> for isize

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: &SafeInt) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<&SafeInt> for u128

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: &SafeInt) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<&SafeInt> for u16

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: &SafeInt) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<&SafeInt> for u32

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: &SafeInt) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<&SafeInt> for u64

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: &SafeInt) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<&SafeInt> for u8

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: &SafeInt) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<&SafeInt> for usize

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: &SafeInt) -> SafeInt

Performs the - operation. Read more
Source§

impl<const D: usize> Sub<SafeDec<D>> for &SafeInt

Source§

type Output = SafeDec<D>

The resulting type after applying the - operator.
Source§

fn sub(self, other: SafeDec<D>) -> SafeDec<D>

Performs the - operation. Read more
Source§

impl<const D: usize> Sub<SafeDec<D>> for SafeInt

Source§

type Output = SafeDec<D>

The resulting type after applying the - operator.
Source§

fn sub(self, other: SafeDec<D>) -> SafeDec<D>

Performs the - operation. Read more
Source§

impl Sub<SafeInt> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: SafeInt) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<SafeInt> for i128

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: SafeInt) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<SafeInt> for i16

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: SafeInt) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<SafeInt> for i32

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: SafeInt) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<SafeInt> for i64

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: SafeInt) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<SafeInt> for i8

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: SafeInt) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<SafeInt> for isize

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: SafeInt) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<SafeInt> for u128

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: SafeInt) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<SafeInt> for u16

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: SafeInt) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<SafeInt> for u32

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: SafeInt) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<SafeInt> for u64

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: SafeInt) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<SafeInt> for u8

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: SafeInt) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<SafeInt> for usize

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: SafeInt) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<i128> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: i128) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<i128> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: i128) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<i16> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: i16) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<i16> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: i16) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<i32> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: i32) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<i32> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: i32) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<i64> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: i64) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<i64> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: i64) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<i8> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: i8) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<i8> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: i8) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<isize> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: isize) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<isize> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: isize) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<u128> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: u128) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<u128> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: u128) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<u16> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: u16) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<u16> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: u16) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<u32> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: u32) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<u32> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: u32) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<u64> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: u64) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<u64> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: u64) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<u8> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: u8) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<u8> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: u8) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<usize> for &SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: usize) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub<usize> for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: usize) -> SafeInt

Performs the - operation. Read more
Source§

impl Sub for SafeInt

Source§

type Output = SafeInt

The resulting type after applying the - operator.
Source§

fn sub(self, other: SafeInt) -> SafeInt

Performs the - operation. Read more
Source§

impl SubAssign<&SafeInt> for SafeInt

Source§

fn sub_assign(&mut self, rhs: &SafeInt)

Performs the -= operation. Read more
Source§

impl SubAssign<i128> for SafeInt

Source§

fn sub_assign(&mut self, rhs: i128)

Performs the -= operation. Read more
Source§

impl SubAssign<i16> for SafeInt

Source§

fn sub_assign(&mut self, rhs: i16)

Performs the -= operation. Read more
Source§

impl SubAssign<i32> for SafeInt

Source§

fn sub_assign(&mut self, rhs: i32)

Performs the -= operation. Read more
Source§

impl SubAssign<i64> for SafeInt

Source§

fn sub_assign(&mut self, rhs: i64)

Performs the -= operation. Read more
Source§

impl SubAssign<i8> for SafeInt

Source§

fn sub_assign(&mut self, rhs: i8)

Performs the -= operation. Read more
Source§

impl SubAssign<isize> for SafeInt

Source§

fn sub_assign(&mut self, rhs: isize)

Performs the -= operation. Read more
Source§

impl SubAssign<u128> for SafeInt

Source§

fn sub_assign(&mut self, rhs: u128)

Performs the -= operation. Read more
Source§

impl SubAssign<u16> for SafeInt

Source§

fn sub_assign(&mut self, rhs: u16)

Performs the -= operation. Read more
Source§

impl SubAssign<u32> for SafeInt

Source§

fn sub_assign(&mut self, rhs: u32)

Performs the -= operation. Read more
Source§

impl SubAssign<u64> for SafeInt

Source§

fn sub_assign(&mut self, rhs: u64)

Performs the -= operation. Read more
Source§

impl SubAssign<u8> for SafeInt

Source§

fn sub_assign(&mut self, rhs: u8)

Performs the -= operation. Read more
Source§

impl SubAssign<usize> for SafeInt

Source§

fn sub_assign(&mut self, rhs: usize)

Performs the -= operation. Read more
Source§

impl SubAssign for SafeInt

Source§

fn sub_assign(&mut self, rhs: SafeInt)

Performs the -= operation. Read more
Source§

impl Eq for SafeInt

Source§

impl StructuralPartialEq for SafeInt

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T, Rhs, Output> NumOps<Rhs, Output> for T
where T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,