Trait PartialDiv

pub trait PartialDiv<Rhs = Self>

Division as a partial function. This type operator performs division just as Div, but is only defined when the result is an integer (i.e. there is no remainder).

Associated Types

type Output;

The type of the result of the division

Required Methods

fn partial_div(self, Rhs) -> Self::Output

Method for performing the division

Implementors