Trait rounded_div::RoundedDiv[][src]

pub trait RoundedDiv<Rhs = Self> {
    type Output;
    fn rounded_div(self, rhs: Rhs) -> Self::Output;
}

Get rounded result of an integer division.

Associated Types

type Output[src]

Type of the rounded result.

Loading content...

Required methods

fn rounded_div(self, rhs: Rhs) -> Self::Output[src]

Get rounded result of an integer division.

Loading content...

Implementors

impl RoundedDiv<i8> for i8[src]

type Output = Self

impl RoundedDiv<i16> for i16[src]

type Output = Self

impl RoundedDiv<i32> for i32[src]

type Output = Self

impl RoundedDiv<i64> for i64[src]

type Output = Self

impl RoundedDiv<i128> for i128[src]

type Output = Self

impl RoundedDiv<isize> for isize[src]

type Output = Self

impl RoundedDiv<u8> for u8[src]

type Output = Self

impl RoundedDiv<u16> for u16[src]

type Output = Self

impl RoundedDiv<u32> for u32[src]

type Output = Self

impl RoundedDiv<u64> for u64[src]

type Output = Self

impl RoundedDiv<u128> for u128[src]

type Output = Self

impl RoundedDiv<usize> for usize[src]

type Output = Self

Loading content...