pub trait IsModulus<U>: Debug {
    const MODULUS: U;
}
Expand description

This trait is necessary for us to be able to use unsigned integer types bigger than u128 (the biggest native unit) as constant generics. This trait should be removed when Rust supports this feature.

Required Associated Constants§

source

const MODULUS: U

Object Safety§

This trait is not object safe.

Implementors§