Enum o1vm::interpreters::riscv32i::interpreter::RInstruction
source · pub enum RInstruction {
Add,
Sub,
ShiftLeftLogical,
SetLessThan,
SetLessThanUnsigned,
Xor,
ShiftRightLogical,
ShiftRightArithmetic,
Or,
And,
Fence,
FenceI,
}
Variants§
Add
Sub
ShiftLeftLogical
SetLessThan
SetLessThanUnsigned
Xor
ShiftRightLogical
ShiftRightArithmetic
Or
And
Fence
FenceI
Trait Implementations§
source§impl Clone for RInstruction
impl Clone for RInstruction
source§fn clone(&self) -> RInstruction
fn clone(&self) -> RInstruction
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 RInstruction
impl Debug for RInstruction
source§impl Default for RInstruction
impl Default for RInstruction
source§fn default() -> RInstruction
fn default() -> RInstruction
Returns the “default value” for a type. Read more
source§impl Display for RInstruction
impl Display for RInstruction
source§impl Hash for RInstruction
impl Hash for RInstruction
source§impl IntoEnumIterator for RInstruction
impl IntoEnumIterator for RInstruction
type Iterator = RInstructionIter
fn iter() -> RInstructionIter ⓘ
source§impl Ord for RInstruction
impl Ord for RInstruction
source§fn cmp(&self, other: &RInstruction) -> Ordering
fn cmp(&self, other: &RInstruction) -> 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<RInstruction> for RInstruction
impl PartialEq<RInstruction> for RInstruction
source§fn eq(&self, other: &RInstruction) -> bool
fn eq(&self, other: &RInstruction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<RInstruction> for RInstruction
impl PartialOrd<RInstruction> for RInstruction
source§fn partial_cmp(&self, other: &RInstruction) -> Option<Ordering>
fn partial_cmp(&self, other: &RInstruction) -> 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 RInstruction
impl Eq for RInstruction
impl StructuralEq for RInstruction
impl StructuralPartialEq for RInstruction
Auto Trait Implementations§
impl RefUnwindSafe for RInstruction
impl Send for RInstruction
impl Sync for RInstruction
impl Unpin for RInstruction
impl UnwindSafe for RInstruction
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