Enum o1vm::interpreters::mips::interpreter::RTypeInstruction
source · pub enum RTypeInstruction {
Show 42 variants
ShiftLeftLogical,
ShiftRightLogical,
ShiftRightArithmetic,
ShiftLeftLogicalVariable,
ShiftRightLogicalVariable,
ShiftRightArithmeticVariable,
JumpRegister,
JumpAndLinkRegister,
SyscallMmap,
SyscallExitGroup,
SyscallReadHint,
SyscallReadPreimage,
SyscallReadOther,
SyscallWriteHint,
SyscallWritePreimage,
SyscallWriteOther,
SyscallFcntl,
SyscallOther,
MoveZero,
MoveNonZero,
Sync,
MoveFromHi,
MoveToHi,
MoveFromLo,
MoveToLo,
Multiply,
MultiplyUnsigned,
Div,
DivUnsigned,
Add,
AddUnsigned,
Sub,
SubUnsigned,
And,
Or,
Xor,
Nor,
SetLessThan,
SetLessThanUnsigned,
MultiplyToRegister,
CountLeadingOnes,
CountLeadingZeros,
}
Variants§
ShiftLeftLogical
ShiftRightLogical
ShiftRightArithmetic
ShiftLeftLogicalVariable
ShiftRightLogicalVariable
ShiftRightArithmeticVariable
JumpRegister
JumpAndLinkRegister
SyscallMmap
SyscallExitGroup
SyscallReadHint
SyscallReadPreimage
SyscallReadOther
SyscallWriteHint
SyscallWritePreimage
SyscallWriteOther
SyscallFcntl
SyscallOther
MoveZero
MoveNonZero
Sync
MoveFromHi
MoveToHi
MoveFromLo
MoveToLo
Multiply
MultiplyUnsigned
Div
DivUnsigned
Add
AddUnsigned
Sub
SubUnsigned
And
Or
Xor
Nor
SetLessThan
SetLessThanUnsigned
MultiplyToRegister
CountLeadingOnes
CountLeadingZeros
Trait Implementations§
source§impl Clone for RTypeInstruction
impl Clone for RTypeInstruction
source§fn clone(&self) -> RTypeInstruction
fn clone(&self) -> RTypeInstruction
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 Debug for RTypeInstruction
impl Debug for RTypeInstruction
source§impl Default for RTypeInstruction
impl Default for RTypeInstruction
source§fn default() -> RTypeInstruction
fn default() -> RTypeInstruction
Returns the “default value” for a type. Read more
source§impl Hash for RTypeInstruction
impl Hash for RTypeInstruction
source§impl IntoEnumIterator for RTypeInstruction
impl IntoEnumIterator for RTypeInstruction
type Iterator = RTypeInstructionIter
fn iter() -> RTypeInstructionIter ⓘ
source§impl Ord for RTypeInstruction
impl Ord for RTypeInstruction
source§fn cmp(&self, other: &RTypeInstruction) -> Ordering
fn cmp(&self, other: &RTypeInstruction) -> 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<RTypeInstruction> for RTypeInstruction
impl PartialEq<RTypeInstruction> for RTypeInstruction
source§fn eq(&self, other: &RTypeInstruction) -> bool
fn eq(&self, other: &RTypeInstruction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<RTypeInstruction> for RTypeInstruction
impl PartialOrd<RTypeInstruction> for RTypeInstruction
source§fn partial_cmp(&self, other: &RTypeInstruction) -> Option<Ordering>
fn partial_cmp(&self, other: &RTypeInstruction) -> 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 RTypeInstruction
impl Eq for RTypeInstruction
impl StructuralEq for RTypeInstruction
impl StructuralPartialEq for RTypeInstruction
Auto Trait Implementations§
impl RefUnwindSafe for RTypeInstruction
impl Send for RTypeInstruction
impl Sync for RTypeInstruction
impl Unpin for RTypeInstruction
impl UnwindSafe for RTypeInstruction
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