Trait typenum::type_operators::PartialDiv
source · [−]pub trait PartialDiv<Rhs = Self> {
type Output;
fn partial_div(self, _: Rhs) -> Self::Output;
}
Expand description
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).
Required Associated Types
Required Methods
fn partial_div(self, _: Rhs) -> Self::Output
fn partial_div(self, _: Rhs) -> Self::Output
Method for performing the division