pub trait RemLimb: Sized {
// Required method
fn rem_limb_with_reciprocal(&self, reciprocal: &Reciprocal) -> Limb;
// Provided method
fn rem_limb(&self, rhs: NonZero<Limb>) -> Limb { ... }
}
Expand description
Support for optimized division by a single limb.
Required Methods§
Sourcefn rem_limb_with_reciprocal(&self, reciprocal: &Reciprocal) -> Limb
fn rem_limb_with_reciprocal(&self, reciprocal: &Reciprocal) -> Limb
Computes self % rhs
.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.