Struct winter_prover::AirContext [−][src]
pub struct AirContext<B> where
B: StarkField, { /* fields omitted */ }Expand description
STARK parameters and trace properties for a specific execution of a computation.
Implementations
pub fn new(
trace_info: TraceInfo,
transition_constraint_degrees: Vec<TransitionConstraintDegree, Global>,
options: ProofOptions
) -> AirContext<B>
pub fn new(
trace_info: TraceInfo,
transition_constraint_degrees: Vec<TransitionConstraintDegree, Global>,
options: ProofOptions
) -> AirContext<B>
Returns a new instance of AirContext instantiated from the specified parameters.
The list of transition constraint degrees defines the total number of transition constraints and their expected degrees. Constraint evaluations computed by Air::evaluate_transition() function are expected to be in the order defined by this list.
Panics
Panics if transition_constraint_degrees is an empty vector.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl<B> RefUnwindSafe for AirContext<B> where
B: RefUnwindSafe,
impl<B> Send for AirContext<B>
impl<B> Sync for AirContext<B>
impl<B> Unpin for AirContext<B> where
B: Unpin,
impl<B> UnwindSafe for AirContext<B> where
B: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self