pub struct Parameters<C: ProjectiveCurve> {
pub randomness_generator: Vec<C>,
pub generators: Vec<Vec<C>>,
}Fields§
§randomness_generator: Vec<C>§generators: Vec<Vec<C>>Trait Implementations§
Source§impl<C: Clone + ProjectiveCurve> Clone for Parameters<C>
impl<C: Clone + ProjectiveCurve> Clone for Parameters<C>
Source§fn clone(&self) -> Parameters<C>
fn clone(&self) -> Parameters<C>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<ConstraintF: Field, C: ProjectiveCurve + ToConstraintField<ConstraintF>> ToConstraintField<ConstraintF> for Parameters<C>
impl<ConstraintF: Field, C: ProjectiveCurve + ToConstraintField<ConstraintF>> ToConstraintField<ConstraintF> for Parameters<C>
fn to_field_elements(&self) -> Option<Vec<ConstraintF>>
Auto Trait Implementations§
impl<C> Freeze for Parameters<C>
impl<C> RefUnwindSafe for Parameters<C>where
C: RefUnwindSafe,
impl<C> Send for Parameters<C>
impl<C> Sync for Parameters<C>
impl<C> Unpin for Parameters<C>where
C: Unpin,
impl<C> UnwindSafe for Parameters<C>where
C: UnwindSafe,
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