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