Trait fuel_vm::constraints::reg_key::GetReg
source · pub trait GetReg {
Show 16 methods
// Required methods
fn zero(&self) -> Reg<'_, ZERO>;
fn one(&self) -> Reg<'_, ONE>;
fn of(&self) -> Reg<'_, OF>;
fn pc(&self) -> Reg<'_, PC>;
fn ssp(&self) -> Reg<'_, SSP>;
fn sp(&self) -> Reg<'_, SP>;
fn fp(&self) -> Reg<'_, FP>;
fn hp(&self) -> Reg<'_, HP>;
fn err(&self) -> Reg<'_, ERR>;
fn ggas(&self) -> Reg<'_, GGAS>;
fn cgas(&self) -> Reg<'_, CGAS>;
fn bal(&self) -> Reg<'_, BAL>;
fn is(&self) -> Reg<'_, IS>;
fn ret(&self) -> Reg<'_, RET>;
fn retl(&self) -> Reg<'_, RETL>;
fn flag(&self) -> Reg<'_, FLAG>;
}
Expand description
Get register reference by name.