fuel_vm::constraints::reg_key

Trait 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.

Required Methods§

Source

fn zero(&self) -> Reg<'_, ZERO>

Get register reference for this key.

Source

fn one(&self) -> Reg<'_, ONE>

Get register reference for this key.

Source

fn of(&self) -> Reg<'_, OF>

Get register reference for this key.

Source

fn pc(&self) -> Reg<'_, PC>

Get register reference for this key.

Source

fn ssp(&self) -> Reg<'_, SSP>

Get register reference for this key.

Source

fn sp(&self) -> Reg<'_, SP>

Get register reference for this key.

Source

fn fp(&self) -> Reg<'_, FP>

Get register reference for this key.

Source

fn hp(&self) -> Reg<'_, HP>

Get register reference for this key.

Source

fn err(&self) -> Reg<'_, ERR>

Get register reference for this key.

Source

fn ggas(&self) -> Reg<'_, GGAS>

Get register reference for this key.

Source

fn cgas(&self) -> Reg<'_, CGAS>

Get register reference for this key.

Source

fn bal(&self) -> Reg<'_, BAL>

Get register reference for this key.

Source

fn is(&self) -> Reg<'_, IS>

Get register reference for this key.

Source

fn ret(&self) -> Reg<'_, RET>

Get register reference for this key.

Source

fn retl(&self) -> Reg<'_, RETL>

Get register reference for this key.

Source

fn flag(&self) -> Reg<'_, FLAG>

Get register reference for this key.

Implementations on Foreign Types§

Source§

impl GetReg for [Word; 64]

Source§

fn zero(&self) -> Reg<'_, ZERO>

Source§

fn one(&self) -> Reg<'_, ONE>

Source§

fn of(&self) -> Reg<'_, OF>

Source§

fn pc(&self) -> Reg<'_, PC>

Source§

fn ssp(&self) -> Reg<'_, SSP>

Source§

fn sp(&self) -> Reg<'_, SP>

Source§

fn fp(&self) -> Reg<'_, FP>

Source§

fn hp(&self) -> Reg<'_, HP>

Source§

fn err(&self) -> Reg<'_, ERR>

Source§

fn ggas(&self) -> Reg<'_, GGAS>

Source§

fn cgas(&self) -> Reg<'_, CGAS>

Source§

fn bal(&self) -> Reg<'_, BAL>

Source§

fn is(&self) -> Reg<'_, IS>

Source§

fn ret(&self) -> Reg<'_, RET>

Source§

fn retl(&self) -> Reg<'_, RETL>

Source§

fn flag(&self) -> Reg<'_, FLAG>

Implementors§