Trait fpdec::CheckedRem

source ·
pub trait CheckedRem<Rhs = Self> {
    type Output;

    // Required method
    fn checked_rem(self, rhs: Rhs) -> Self::Output;
}
Expand description

Checked remainder. Computes self % rhs. Returns None if the result can not be represented by the Output type.

Required Associated Types§

source

type Output

The resulting type after applying checked_rem.

Required Methods§

source

fn checked_rem(self, rhs: Rhs) -> Self::Output

Returns Some(self % rhs) or None if the result can not be represented by the Output type.

Implementations on Foreign Types§

source§

impl<'a> CheckedRem<Decimal> for &'a i64where i64: CheckedRem<Decimal>,

§

type Output = <i64 as CheckedRem<Decimal>>::Output

source§

fn checked_rem(self, rhs: Decimal) -> Self::Output

source§

impl<'a> CheckedRem<Decimal> for &'a i8where i8: CheckedRem<Decimal>,

§

type Output = <i8 as CheckedRem<Decimal>>::Output

source§

fn checked_rem(self, rhs: Decimal) -> Self::Output

source§

impl CheckedRem<&Decimal> for &u32where u32: CheckedRem<Decimal>,

§

type Output = <u32 as CheckedRem<Decimal>>::Output

source§

fn checked_rem(self, rhs: &Decimal) -> Self::Output

source§

impl CheckedRem<&Decimal> for &u8where u8: CheckedRem<Decimal>,

§

type Output = <u8 as CheckedRem<Decimal>>::Output

source§

fn checked_rem(self, rhs: &Decimal) -> Self::Output

source§

impl CheckedRem<Decimal> for u32

§

type Output = Option<Decimal>

source§

fn checked_rem(self, rhs: Decimal) -> Self::Output

source§

impl CheckedRem<&Decimal> for &i64where i64: CheckedRem<Decimal>,

§

type Output = <i64 as CheckedRem<Decimal>>::Output

source§

fn checked_rem(self, rhs: &Decimal) -> Self::Output

source§

impl<'a> CheckedRem<Decimal> for &'a u8where u8: CheckedRem<Decimal>,

§

type Output = <u8 as CheckedRem<Decimal>>::Output

source§

fn checked_rem(self, rhs: Decimal) -> Self::Output

source§

impl<'a> CheckedRem<Decimal> for &'a u64where u64: CheckedRem<Decimal>,

§

type Output = <u64 as CheckedRem<Decimal>>::Output

source§

fn checked_rem(self, rhs: Decimal) -> Self::Output

source§

impl CheckedRem<&Decimal> for &i128where i128: CheckedRem<Decimal>,

§

type Output = <i128 as CheckedRem<Decimal>>::Output

source§

fn checked_rem(self, rhs: &Decimal) -> Self::Output

source§

impl CheckedRem<Decimal> for i128

§

type Output = Option<Decimal>

source§

fn checked_rem(self, rhs: Decimal) -> Self::Output

source§

impl CheckedRem<Decimal> for i8

§

type Output = Option<Decimal>

source§

fn checked_rem(self, rhs: Decimal) -> Self::Output

source§

impl CheckedRem<&Decimal> for i128where i128: CheckedRem<Decimal>,

§

type Output = <i128 as CheckedRem<Decimal>>::Output

source§

fn checked_rem(self, rhs: &Decimal) -> Self::Output

source§

impl CheckedRem<&Decimal> for u32where u32: CheckedRem<Decimal>,

§

type Output = <u32 as CheckedRem<Decimal>>::Output

source§

fn checked_rem(self, rhs: &Decimal) -> Self::Output

source§

impl CheckedRem<&Decimal> for u16where u16: CheckedRem<Decimal>,

§

type Output = <u16 as CheckedRem<Decimal>>::Output

source§

fn checked_rem(self, rhs: &Decimal) -> Self::Output

source§

impl CheckedRem<Decimal> for u16

§

type Output = Option<Decimal>

source§

fn checked_rem(self, rhs: Decimal) -> Self::Output

source§

impl CheckedRem<&Decimal> for i16where i16: CheckedRem<Decimal>,

§

type Output = <i16 as CheckedRem<Decimal>>::Output

source§

fn checked_rem(self, rhs: &Decimal) -> Self::Output

source§

impl<'a> CheckedRem<Decimal> for &'a u16where u16: CheckedRem<Decimal>,

§

type Output = <u16 as CheckedRem<Decimal>>::Output

source§

fn checked_rem(self, rhs: Decimal) -> Self::Output

source§

impl CheckedRem<&Decimal> for i32where i32: CheckedRem<Decimal>,

§

type Output = <i32 as CheckedRem<Decimal>>::Output

source§

fn checked_rem(self, rhs: &Decimal) -> Self::Output

source§

impl CheckedRem<&Decimal> for u64where u64: CheckedRem<Decimal>,

§

type Output = <u64 as CheckedRem<Decimal>>::Output

source§

fn checked_rem(self, rhs: &Decimal) -> Self::Output

source§

impl CheckedRem<&Decimal> for &i8where i8: CheckedRem<Decimal>,

§

type Output = <i8 as CheckedRem<Decimal>>::Output

source§

fn checked_rem(self, rhs: &Decimal) -> Self::Output

source§

impl CheckedRem<Decimal> for i64

§

type Output = Option<Decimal>

source§

fn checked_rem(self, rhs: Decimal) -> Self::Output

source§

impl CheckedRem<&Decimal> for &u16where u16: CheckedRem<Decimal>,

§

type Output = <u16 as CheckedRem<Decimal>>::Output

source§

fn checked_rem(self, rhs: &Decimal) -> Self::Output

source§

impl<'a> CheckedRem<Decimal> for &'a i128where i128: CheckedRem<Decimal>,

source§

impl CheckedRem<&Decimal> for &i32where i32: CheckedRem<Decimal>,

§

type Output = <i32 as CheckedRem<Decimal>>::Output

source§

fn checked_rem(self, rhs: &Decimal) -> Self::Output

source§

impl CheckedRem<&Decimal> for &i16where i16: CheckedRem<Decimal>,

§

type Output = <i16 as CheckedRem<Decimal>>::Output

source§

fn checked_rem(self, rhs: &Decimal) -> Self::Output

source§

impl CheckedRem<&Decimal> for &u64where u64: CheckedRem<Decimal>,

§

type Output = <u64 as CheckedRem<Decimal>>::Output

source§

fn checked_rem(self, rhs: &Decimal) -> Self::Output

source§

impl<'a> CheckedRem<Decimal> for &'a i32where i32: CheckedRem<Decimal>,

§

type Output = <i32 as CheckedRem<Decimal>>::Output

source§

fn checked_rem(self, rhs: Decimal) -> Self::Output

source§

impl CheckedRem<Decimal> for i16

§

type Output = Option<Decimal>

source§

fn checked_rem(self, rhs: Decimal) -> Self::Output

source§

impl CheckedRem<&Decimal> for i8where i8: CheckedRem<Decimal>,

§

type Output = <i8 as CheckedRem<Decimal>>::Output

source§

fn checked_rem(self, rhs: &Decimal) -> Self::Output

source§

impl CheckedRem<&Decimal> for u8where u8: CheckedRem<Decimal>,

§

type Output = <u8 as CheckedRem<Decimal>>::Output

source§

fn checked_rem(self, rhs: &Decimal) -> Self::Output

source§

impl CheckedRem<Decimal> for u64

§

type Output = Option<Decimal>

source§

fn checked_rem(self, rhs: Decimal) -> Self::Output

source§

impl CheckedRem<Decimal> for i32

§

type Output = Option<Decimal>

source§

fn checked_rem(self, rhs: Decimal) -> Self::Output

source§

impl CheckedRem<&Decimal> for i64where i64: CheckedRem<Decimal>,

§

type Output = <i64 as CheckedRem<Decimal>>::Output

source§

fn checked_rem(self, rhs: &Decimal) -> Self::Output

source§

impl<'a> CheckedRem<Decimal> for &'a i16where i16: CheckedRem<Decimal>,

§

type Output = <i16 as CheckedRem<Decimal>>::Output

source§

fn checked_rem(self, rhs: Decimal) -> Self::Output

source§

impl CheckedRem<Decimal> for u8

§

type Output = Option<Decimal>

source§

fn checked_rem(self, rhs: Decimal) -> Self::Output

source§

impl<'a> CheckedRem<Decimal> for &'a u32where u32: CheckedRem<Decimal>,

§

type Output = <u32 as CheckedRem<Decimal>>::Output

source§

fn checked_rem(self, rhs: Decimal) -> Self::Output

Implementors§

source§

impl CheckedRem<&i8> for &Decimalwhere Decimal: CheckedRem<i8>,

source§

impl CheckedRem<&i8> for Decimalwhere Decimal: CheckedRem<i8>,

source§

impl CheckedRem<&i16> for &Decimalwhere Decimal: CheckedRem<i16>,

source§

impl CheckedRem<&i16> for Decimalwhere Decimal: CheckedRem<i16>,

source§

impl CheckedRem<&i32> for &Decimalwhere Decimal: CheckedRem<i32>,

source§

impl CheckedRem<&i32> for Decimalwhere Decimal: CheckedRem<i32>,

source§

impl CheckedRem<&i64> for &Decimalwhere Decimal: CheckedRem<i64>,

source§

impl CheckedRem<&i64> for Decimalwhere Decimal: CheckedRem<i64>,

source§

impl CheckedRem<&i128> for &Decimalwhere Decimal: CheckedRem<i128>,

source§

impl CheckedRem<&i128> for Decimalwhere Decimal: CheckedRem<i128>,

source§

impl CheckedRem<&u8> for &Decimalwhere Decimal: CheckedRem<u8>,

source§

impl CheckedRem<&u8> for Decimalwhere Decimal: CheckedRem<u8>,

source§

impl CheckedRem<&u16> for &Decimalwhere Decimal: CheckedRem<u16>,

source§

impl CheckedRem<&u16> for Decimalwhere Decimal: CheckedRem<u16>,

source§

impl CheckedRem<&u32> for &Decimalwhere Decimal: CheckedRem<u32>,

source§

impl CheckedRem<&u32> for Decimalwhere Decimal: CheckedRem<u32>,

source§

impl CheckedRem<&u64> for &Decimalwhere Decimal: CheckedRem<u64>,

source§

impl CheckedRem<&u64> for Decimalwhere Decimal: CheckedRem<u64>,

source§

impl CheckedRem<&Decimal> for &Decimalwhere Decimal: CheckedRem<Decimal>,

source§

impl CheckedRem<&Decimal> for Decimalwhere Decimal: CheckedRem<Decimal>,

source§

impl CheckedRem<i8> for Decimal

source§

impl CheckedRem<i16> for Decimal

source§

impl CheckedRem<i32> for Decimal

source§

impl CheckedRem<i64> for Decimal

source§

impl CheckedRem<i128> for Decimal

source§

impl CheckedRem<u8> for Decimal

source§

impl CheckedRem<u16> for Decimal

source§

impl CheckedRem<u32> for Decimal

source§

impl CheckedRem<u64> for Decimal

source§

impl CheckedRem<Decimal> for Decimal

source§

impl<'a> CheckedRem<i8> for &'a Decimalwhere Decimal: CheckedRem<i8>,

source§

impl<'a> CheckedRem<i16> for &'a Decimalwhere Decimal: CheckedRem<i16>,

source§

impl<'a> CheckedRem<i32> for &'a Decimalwhere Decimal: CheckedRem<i32>,

source§

impl<'a> CheckedRem<i64> for &'a Decimalwhere Decimal: CheckedRem<i64>,

source§

impl<'a> CheckedRem<i128> for &'a Decimalwhere Decimal: CheckedRem<i128>,

source§

impl<'a> CheckedRem<u8> for &'a Decimalwhere Decimal: CheckedRem<u8>,

source§

impl<'a> CheckedRem<u16> for &'a Decimalwhere Decimal: CheckedRem<u16>,

source§

impl<'a> CheckedRem<u32> for &'a Decimalwhere Decimal: CheckedRem<u32>,

source§

impl<'a> CheckedRem<u64> for &'a Decimalwhere Decimal: CheckedRem<u64>,

source§

impl<'a> CheckedRem<Decimal> for &'a Decimalwhere Decimal: CheckedRem<Decimal>,