pub trait BigIntOpswhere
    Self: Sized + Copy + IsBigInt + Add<Output = (Self, Self::Dig)> + Add<Self::Dig, Output = (Self, Self::Dig)> + Sub<Output = (Self, Self::Dig)> + Sub<Self::Dig, Output = (Self, Self::Dig)> + Shr<usize, Output = Self> + Shl<usize, Output = Self> + Rem<Output = Self> + Ord + Eq,{ }
Expand description

This trait requires bigint to at least implement add, sub, shl, shr, mod and order

Implementors§

source§

impl<T: Copy, const LEN: usize> BigIntOps for BigUInt<T, LEN>where Self: IsBigInt + Add<Output = (Self, Self::Dig)> + Add<Self::Dig, Output = (Self, Self::Dig)> + Sub<Output = (Self, Self::Dig)> + Sub<Self::Dig, Output = (Self, Self::Dig)> + Shr<usize, Output = Self> + Shl<usize, Output = Self> + Rem<Output = Self> + Ord + Eq,