ProgramAirBuilder

Trait ProgramAirBuilder 

Source
pub trait ProgramAirBuilder: BaseAirBuilder {
    // Provided methods
    fn send_program(
        &mut self,
        pc: impl Into<Self::Expr>,
        instruction: InstructionCols<impl Into<Self::Expr> + Copy>,
        multiplicity: impl Into<Self::Expr>,
    ) { ... }
    fn receive_program(
        &mut self,
        pc: impl Into<Self::Expr>,
        instruction: InstructionCols<impl Into<Self::Expr> + Copy>,
        multiplicity: impl Into<Self::Expr>,
    ) { ... }
}
Expand description

A trait which contains methods related to program interactions in an AIR.

Provided Methods§

Source

fn send_program( &mut self, pc: impl Into<Self::Expr>, instruction: InstructionCols<impl Into<Self::Expr> + Copy>, multiplicity: impl Into<Self::Expr>, )

Sends an instruction.

Source

fn receive_program( &mut self, pc: impl Into<Self::Expr>, instruction: InstructionCols<impl Into<Self::Expr> + Copy>, multiplicity: impl Into<Self::Expr>, )

Receives an instruction.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§