Skip to main content

DivRound

Trait DivRound 

Source
pub trait DivRound {
    // Required method
    fn div_round(&self, rhs: &Self) -> Self;
}
Expand description

Division rounded to the nearest integer.

Required Methods§

Source

fn div_round(&self, rhs: &Self) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<I> DivRound for EisenInt<I>
where I: IntType, for<'x> &'x I: IntOps<I>,

Source§

impl<I> DivRound for GaussInt<I>
where I: IntType, for<'x> &'x I: IntOps<I>,

Source§

impl<T> DivRound for T
where T: IntType, for<'x> &'x T: IntOps<T>,