pub trait ForeignFieldHelpers<F, const B: usize> {
// Required methods
fn two_to_limb() -> F;
fn two_to_2limb() -> F;
fn two_to_3limb() -> F;
}
Expand description
Foreign field helpers for B
the limb size.
Required Methods§
Sourcefn two_to_limb() -> F
fn two_to_limb() -> F
2^{B}
Sourcefn two_to_2limb() -> F
fn two_to_2limb() -> F
2^{2 * B}
Sourcefn two_to_3limb() -> F
fn two_to_3limb() -> F
2^{3 * B}
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.