Skip to main content

RemMixed

Trait RemMixed 

Source
pub trait RemMixed<Reductor>: Sized {
    // Required method
    fn rem_mixed(&self, reductor: &NonZero<Reductor>) -> Reductor;
}
Expand description

Support for calculating the remainder of two differently sized integers.

Required Methods§

Source

fn rem_mixed(&self, reductor: &NonZero<Reductor>) -> Reductor

Calculate the remainder of self by the reductor.

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.

Implementors§

Source§

impl<Rhs: Unsigned> RemMixed<Rhs> for BoxedUint

Source§

impl<const LIMBS: usize, Rhs: Unsigned> RemMixed<Rhs> for Uint<LIMBS>