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.

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§