pub struct FibFixture {
pub a: u64,
pub b: u64,
pub n: usize,
pub num_airs: usize,
pub empty_air_indices: Vec<usize>,
}Fields§
§a: u64§b: u64§n: usize§num_airs: usize§empty_air_indices: Vec<usize>Implementations§
Trait Implementations§
Source§impl<SC: StarkProtocolConfig> TestFixture<SC> for FibFixture
impl<SC: StarkProtocolConfig> TestFixture<SC> for FibFixture
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 FibFixture
impl RefUnwindSafe for FibFixture
impl Send for FibFixture
impl Sync for FibFixture
impl Unpin for FibFixture
impl UnsafeUnpin for FibFixture
impl UnwindSafe for FibFixture
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