pub trait RoundedDiv<Rhs = Self> {
type Output;
// Required method
fn rounded_div(self, rhs: Rhs) -> Self::Output;
}Expand description
Get rounded result of an integer division.
Required Associated Types§
Required Methods§
Sourcefn rounded_div(self, rhs: Rhs) -> Self::Output
fn rounded_div(self, rhs: Rhs) -> Self::Output
Get rounded result of an integer division.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".