pub struct Constants<F: 'static> {
pub endo_coefficient: F,
pub mds: &'static Vec<Vec<F>>,
pub zk_rows: u64,
}
Expand description
The collection of constants required to evaluate an Expr
.
Fields§
§endo_coefficient: F
The endomorphism coefficient
mds: &'static Vec<Vec<F>>
The MDS matrix
zk_rows: u64
The number of zero-knowledge rows
Trait Implementations§
Auto Trait Implementations§
impl<F> RefUnwindSafe for Constants<F>where F: RefUnwindSafe,
impl<F> Send for Constants<F>where F: Send + Sync,
impl<F> Sync for Constants<F>where F: Sync,
impl<F> Unpin for Constants<F>where F: Unpin,
impl<F> UnwindSafe for Constants<F>where F: UnwindSafe + RefUnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more