pub struct DeviceMultiStarkProvingKeyView<'a, PB: ProverBackend> {
pub per_air: Vec<&'a DeviceStarkProvingKey<PB>>,
pub trace_height_constraints: &'a [LinearConstraint],
pub vk_pre_hash: &'a PB::Commitment,
/* private fields */
}
Expand description
A view of the proving key after it has been transferred to device. The view is filtered for only
the proving keys corresponding to specific air_ids
.
Fields§
§per_air: Vec<&'a DeviceStarkProvingKey<PB>>
§trace_height_constraints: &'a [LinearConstraint]
Each LinearConstraint is indexed by AIR ID.
Caution: the linear constraints are not filtered for only the AIRs appearing in
per_air
.
vk_pre_hash: &'a PB::Commitment
Auto Trait Implementations§
impl<'a, PB> Freeze for DeviceMultiStarkProvingKeyView<'a, PB>
impl<'a, PB> RefUnwindSafe for DeviceMultiStarkProvingKeyView<'a, PB>where
<PB as ProverBackend>::Commitment: RefUnwindSafe,
<PB as ProverBackend>::RapPartialProvingKey: RefUnwindSafe,
<PB as ProverBackend>::Matrix: RefUnwindSafe,
<PB as ProverBackend>::PcsData: RefUnwindSafe,
<PB as ProverBackend>::Val: RefUnwindSafe,
impl<'a, PB> Send for DeviceMultiStarkProvingKeyView<'a, PB>
impl<'a, PB> Sync for DeviceMultiStarkProvingKeyView<'a, PB>
impl<'a, PB> Unpin for DeviceMultiStarkProvingKeyView<'a, PB>
impl<'a, PB> UnwindSafe for DeviceMultiStarkProvingKeyView<'a, PB>where
<PB as ProverBackend>::Commitment: RefUnwindSafe,
<PB as ProverBackend>::RapPartialProvingKey: RefUnwindSafe,
<PB as ProverBackend>::Matrix: RefUnwindSafe,
<PB as ProverBackend>::PcsData: RefUnwindSafe,
<PB as ProverBackend>::Val: RefUnwindSafe,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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