Trait num_modular::DivExact
source · pub trait DivExact<Rhs, Precompute>: Sized {
type Output;
// Required method
fn div_exact(self, d: Rhs, pre: &Precompute) -> Option<Self::Output>;
}Expand description
Required Associated Types§
Required Methods§
sourcefn div_exact(self, d: Rhs, pre: &Precompute) -> Option<Self::Output>
fn div_exact(self, d: Rhs, pre: &Precompute) -> Option<Self::Output>
Check if d divides self with the help of the precomputation. If d divides self, then the quotient is returned.
Object Safety§
This trait is not object safe.