Struct miden_processor::VmState
source · pub struct VmState {
pub clk: u32,
pub ctx: u32,
pub op: Option<Operation>,
pub asmop: Option<AsmOpInfo>,
pub fmp: Felt,
pub stack: Vec<Felt>,
pub memory: Vec<(u64, Word)>,
}
Expand description
VmState holds a current process state information at a specific clock cycle.
Fields
clk: u32
ctx: u32
op: Option<Operation>
asmop: Option<AsmOpInfo>
fmp: Felt
stack: Vec<Felt>
memory: Vec<(u64, Word)>
Trait Implementations
impl Eq for VmState
impl StructuralEq for VmState
impl StructuralPartialEq for VmState
Auto Trait Implementations
impl RefUnwindSafe for VmState
impl Send for VmState
impl Sync for VmState
impl Unpin for VmState
impl UnwindSafe for VmState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more