pub trait ArithHelpers<F: One + Debug + Zero>where
Self: Interpreter<F>,{
// Required method
fn two_pow(x: u64) -> Self::Variable;
// Provided methods
fn zero() -> Self::Variable { ... }
fn one() -> Self::Variable { ... }
fn two() -> Self::Variable { ... }
}
Expand description
This trait contains helper functions for arithmetic operations used in the Keccak circuit
Required Methods§
Provided Methods§
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.