pub struct SelfInteractionFixture {
pub widths: Vec<usize>,
pub log_height: usize,
pub bus_index: BusIndex,
}Fields§
§widths: Vec<usize>§log_height: usize§bus_index: BusIndexImplementations§
Trait Implementations§
Source§impl<SC: StarkProtocolConfig> TestFixture<SC> for SelfInteractionFixture
impl<SC: StarkProtocolConfig> TestFixture<SC> for SelfInteractionFixture
fn airs(&self) -> Vec<AirRef<SC>> ⓘ
fn generate_proving_ctx(&self) -> ProvingContext<CpuColMajorBackend<SC>>
fn keygen<E: StarkEngine<SC = SC>>( &self, engine: &E, ) -> (MultiStarkProvingKey<SC>, MultiStarkVerifyingKey<SC>)
fn prove<E: StarkEngine<SC = SC>>( &self, engine: &E, pk: &MultiStarkProvingKey<SC>, ) -> Proof<SC>
Source§fn prove_from_transcript<E: StarkEngine<SC = SC>>(
&self,
engine: &E,
pk: &MultiStarkProvingKey<SC>,
transcript: &mut E::TS,
) -> Proof<SC>
fn prove_from_transcript<E: StarkEngine<SC = SC>>( &self, engine: &E, pk: &MultiStarkProvingKey<SC>, transcript: &mut E::TS, ) -> Proof<SC>
Prove using CPU tracegen and transport to device.
fn keygen_and_prove<E: StarkEngine<SC = SC>>( &self, engine: &E, ) -> (MultiStarkVerifyingKey<SC>, Proof<SC>)
Auto Trait Implementations§
impl Freeze for SelfInteractionFixture
impl RefUnwindSafe for SelfInteractionFixture
impl Send for SelfInteractionFixture
impl Sync for SelfInteractionFixture
impl Unpin for SelfInteractionFixture
impl UnsafeUnpin for SelfInteractionFixture
impl UnwindSafe for SelfInteractionFixture
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more