pub struct CairoWord<F>(_);
Expand description
A Cairo word for the runner. Some words are instructions (which fit inside a
u64
). Others are immediate values (any F
element).
Implementations§
Trait Implementations§
source§impl<F: Field> FlagBits<F> for CairoWord<F>
impl<F: Field> FlagBits<F> for CairoWord<F>
source§fn f_pc_jnz(&self) -> F
fn f_pc_jnz(&self) -> F
Returns bit-flag for program counter update being conditional jump as
F
source§fn f_ap_add(&self) -> F
fn f_ap_add(&self) -> F
Returns bit-flag for allocation counter update being a manual addition
as
F
source§fn f_ap_one(&self) -> F
fn f_ap_one(&self) -> F
Returns bit-flag for allocation counter update being a self increment as
F
source§fn f_opc_call(&self) -> F
fn f_opc_call(&self) -> F
Returns bit-flag for operation being a call as
F
impl<F: Copy> Copy for CairoWord<F>
Auto Trait Implementations§
impl<F> RefUnwindSafe for CairoWord<F>where F: RefUnwindSafe,
impl<F> Send for CairoWord<F>where F: Send,
impl<F> Sync for CairoWord<F>where F: Sync,
impl<F> Unpin for CairoWord<F>where F: Unpin,
impl<F> UnwindSafe for CairoWord<F>where F: UnwindSafe,
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