Trait sp1_recursion_circuit::witness::Witnessable

source ·
pub trait Witnessable<C: Config> {
    type WitnessVariable;

    // Required methods
    fn read(&self, builder: &mut Builder<C>) -> Self::WitnessVariable;
    fn write(&self, witness: &mut Witness<C>);
}

Required Associated Types§

Required Methods§

source

fn read(&self, builder: &mut Builder<C>) -> Self::WitnessVariable

source

fn write(&self, witness: &mut Witness<C>)

Implementations on Foreign Types§

source§

impl Witnessable<OuterConfig> for Bn254Fr

source§

type WitnessVariable = Var<Bn254Fr>

source§

fn read(&self, builder: &mut Builder<OuterConfig>) -> Self::WitnessVariable

source§

fn write(&self, witness: &mut Witness<OuterConfig>)

source§

impl Witnessable<OuterConfig> for AirOpenedValues<OuterChallenge>

source§

impl Witnessable<OuterConfig> for ChipOpenedValues<OuterChallenge>

source§

impl Witnessable<OuterConfig> for ShardCommitment<OuterDigest>

source§

impl Witnessable<OuterConfig> for ShardOpenedValues<OuterChallenge>

source§

impl Witnessable<OuterConfig> for ShardProof<BabyBearPoseidon2Outer>

source§

impl Witnessable<OuterConfig> for OuterBatchOpening

source§

impl Witnessable<OuterConfig> for OuterChallenge

source§

impl Witnessable<OuterConfig> for OuterCommitPhaseStep

source§

impl Witnessable<OuterConfig> for OuterDigest

source§

type WitnessVariable = [Var<<OuterConfig as Config>::N>; 1]

source§

fn read(&self, builder: &mut Builder<OuterConfig>) -> Self::WitnessVariable

source§

fn write(&self, witness: &mut Witness<OuterConfig>)

source§

impl Witnessable<OuterConfig> for OuterFriProof

source§

impl Witnessable<OuterConfig> for OuterPcsProof

source§

impl Witnessable<OuterConfig> for OuterQueryProof

source§

impl Witnessable<OuterConfig> for OuterVal

source§

type WitnessVariable = Felt<BabyBear>

source§

fn read(&self, builder: &mut Builder<OuterConfig>) -> Self::WitnessVariable

source§

fn write(&self, witness: &mut Witness<OuterConfig>)

source§

impl<I: VectorWitnessable<OuterConfig>> Witnessable<OuterConfig> for Vec<I>

Implementors§