Struct comlib_math::RuntimePrimeModulus [−][src]
pub struct RuntimePrimeModulus<T>(_);Expand description
Modulus whose value can be selected at runtime.
The modulus must be a prime. This differs from RuntimeModulus in that this implements InvertibleModulus
because numbers in prime modulus can be inverted by taking their p-2:th power.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for RuntimePrimeModulus<T> where
T: RefUnwindSafe,
impl<T> Send for RuntimePrimeModulus<T> where
T: Send,
impl<T> Sync for RuntimePrimeModulus<T> where
T: Sync,
impl<T> Unpin for RuntimePrimeModulus<T> where
T: Unpin,
impl<T> UnwindSafe for RuntimePrimeModulus<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more