Trait UncheckedDiv

Source
pub trait UncheckedDiv<Rhs = Self> {
    type Output;

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

Division without checking for division by zero or overflow.

§Panics

Panics if dividing by zero or if the result overflows.

Required Associated Types§

Required Methods§

Source

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

Implementors§