Enum o1vm::interpreters::mips::interpreter::Instruction
source · pub enum Instruction {
RType(RTypeInstruction),
JType(JTypeInstruction),
IType(ITypeInstruction),
}
Variants§
Trait Implementations§
source§impl Clone for Instruction
impl Clone for Instruction
source§fn clone(&self) -> Instruction
fn clone(&self) -> Instruction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl ColumnIndexer for Instruction
impl ColumnIndexer for Instruction
source§impl Debug for Instruction
impl Debug for Instruction
source§impl From<Instruction> for usize
impl From<Instruction> for usize
Returns the corresponding index of the corresponding DynamicSelector column.
source§fn from(instr: Instruction) -> usize
fn from(instr: Instruction) -> usize
Converts to this type from the input type.
source§impl Hash for Instruction
impl Hash for Instruction
source§impl Index<Instruction> for MIPSFoldingWitness
impl Index<Instruction> for MIPSFoldingWitness
source§impl<T: Clone> Index<Instruction> for MIPSWitness<T>
impl<T: Clone> Index<Instruction> for MIPSWitness<T>
source§impl<T: Clone> IndexMut<Instruction> for MIPSWitness<T>
impl<T: Clone> IndexMut<Instruction> for MIPSWitness<T>
source§impl IntoEnumIterator for Instruction
impl IntoEnumIterator for Instruction
type Iterator = InstructionIter
fn iter() -> InstructionIter ⓘ
source§impl IntoIterator for Instruction
impl IntoIterator for Instruction
§type Item = Instruction
type Item = Instruction
The type of the elements being iterated over.
§type IntoIter = IntoIter<<Instruction as IntoIterator>::Item, Global>
type IntoIter = IntoIter<<Instruction as IntoIterator>::Item, Global>
Which kind of iterator are we turning this into?
source§impl Ord for Instruction
impl Ord for Instruction
source§fn cmp(&self, other: &Instruction) -> Ordering
fn cmp(&self, other: &Instruction) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<Instruction> for Instruction
impl PartialEq<Instruction> for Instruction
source§fn eq(&self, other: &Instruction) -> bool
fn eq(&self, other: &Instruction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<Instruction> for Instruction
impl PartialOrd<Instruction> for Instruction
source§fn partial_cmp(&self, other: &Instruction) -> Option<Ordering>
fn partial_cmp(&self, other: &Instruction) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Instruction
impl Eq for Instruction
impl StructuralEq for Instruction
impl StructuralPartialEq for Instruction
Auto Trait Implementations§
impl RefUnwindSafe for Instruction
impl Send for Instruction
impl Sync for Instruction
impl Unpin for Instruction
impl UnwindSafe for Instruction
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more