Enum o1vm::interpreters::riscv32i::interpreter::IInstruction
source · pub enum IInstruction {
Show 15 variants
LoadByte,
LoadHalf,
LoadWord,
LoadByteUnsigned,
LoadHalfUnsigned,
ShiftLeftLogicalImmediate,
ShiftRightLogicalImmediate,
ShiftRightArithmeticImmediate,
SetLessThanImmediate,
SetLessThanImmediateUnsigned,
AddImmediate,
XorImmediate,
OrImmediate,
AndImmediate,
JumpAndLinkRegister,
}
Variants§
LoadByte
LoadHalf
LoadWord
LoadByteUnsigned
LoadHalfUnsigned
ShiftLeftLogicalImmediate
ShiftRightLogicalImmediate
ShiftRightArithmeticImmediate
SetLessThanImmediate
SetLessThanImmediateUnsigned
AddImmediate
XorImmediate
OrImmediate
AndImmediate
JumpAndLinkRegister
Trait Implementations§
source§impl Clone for IInstruction
impl Clone for IInstruction
source§fn clone(&self) -> IInstruction
fn clone(&self) -> IInstruction
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 IInstruction
impl Debug for IInstruction
source§impl Default for IInstruction
impl Default for IInstruction
source§fn default() -> IInstruction
fn default() -> IInstruction
Returns the “default value” for a type. Read more
source§impl Display for IInstruction
impl Display for IInstruction
source§impl Hash for IInstruction
impl Hash for IInstruction
source§impl IntoEnumIterator for IInstruction
impl IntoEnumIterator for IInstruction
type Iterator = IInstructionIter
fn iter() -> IInstructionIter ⓘ
source§impl Ord for IInstruction
impl Ord for IInstruction
source§fn cmp(&self, other: &IInstruction) -> Ordering
fn cmp(&self, other: &IInstruction) -> 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<IInstruction> for IInstruction
impl PartialEq<IInstruction> for IInstruction
source§fn eq(&self, other: &IInstruction) -> bool
fn eq(&self, other: &IInstruction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<IInstruction> for IInstruction
impl PartialOrd<IInstruction> for IInstruction
source§fn partial_cmp(&self, other: &IInstruction) -> Option<Ordering>
fn partial_cmp(&self, other: &IInstruction) -> 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 IInstruction
impl Eq for IInstruction
impl StructuralEq for IInstruction
impl StructuralPartialEq for IInstruction
Auto Trait Implementations§
impl RefUnwindSafe for IInstruction
impl Send for IInstruction
impl Sync for IInstruction
impl Unpin for IInstruction
impl UnwindSafe for IInstruction
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