pub trait FlagBits<F> {
Show 16 methods
// Required methods
fn f_dst_fp(&self) -> F;
fn f_op0_fp(&self) -> F;
fn f_op1_val(&self) -> F;
fn f_op1_fp(&self) -> F;
fn f_op1_ap(&self) -> F;
fn f_res_add(&self) -> F;
fn f_res_mul(&self) -> F;
fn f_pc_abs(&self) -> F;
fn f_pc_rel(&self) -> F;
fn f_pc_jnz(&self) -> F;
fn f_ap_add(&self) -> F;
fn f_ap_one(&self) -> F;
fn f_opc_call(&self) -> F;
fn f_opc_ret(&self) -> F;
fn f_opc_aeq(&self) -> F;
fn f15(&self) -> F;
}
Expand description
This trait contains methods that decompose a field element into CairoWord flagbits
Required Methods§
sourcefn f_pc_jnz(&self) -> F
fn f_pc_jnz(&self) -> F
Returns bit-flag for program counter update being conditional jump as
F
sourcefn f_ap_add(&self) -> F
fn f_ap_add(&self) -> F
Returns bit-flag for allocation counter update being a manual addition
as F
sourcefn f_ap_one(&self) -> F
fn f_ap_one(&self) -> F
Returns bit-flag for allocation counter update being a self increment as
F
sourcefn f_opc_call(&self) -> F
fn f_opc_call(&self) -> F
Returns bit-flag for operation being a call as F