pub trait FlagSets<F> {
// Required methods
fn dst_reg(&self) -> u8;
fn op0_reg(&self) -> u8;
fn op1_src(&self) -> u8;
fn res_log(&self) -> u8;
fn pc_up(&self) -> u8;
fn ap_up(&self) -> u8;
fn opcode(&self) -> u8;
}
Expand description
This trait contains methods that decompose a field element into CairoWord flagsets