pub trait SnarkyCvar: Clone {
    type Field;

    // Required method
    fn to_constant_and_terms(
        &self
    ) -> (Option<Self::Field>, Vec<(Self::Field, usize)>);
}

Required Associated Types§

Required Methods§

source

fn to_constant_and_terms( &self ) -> (Option<Self::Field>, Vec<(Self::Field, usize)>)

Implementors§

source§

impl<F> SnarkyCvar for FieldVar<F>where F: PrimeField,

§

type Field = F