pub trait WrapAround<Rhs = Self> {
    // Required method
    fn wrap(self, rhs: Rhs) -> Self;
}
Expand description

perform arithmetic rhs % self, which is symmetic Rem

Required Methods§

source

fn wrap(self, rhs: Rhs) -> Self

Implementors§

source§

impl<T, const LEN: usize> WrapAround<BigUInt<T, LEN>> for BigUInt<T, LEN>where T: Default + Copy + Digit,

source§

impl<T, const LEN: usize> WrapAround<[BigUInt<T, LEN>; 2]> for BigUInt<T, LEN>where BigUInt<T, { _ }>: Rem<Output = BigUInt<T, { _ }>>, T: Default + Copy + Digit,