pub(crate) enum Opcode {
Mul,
UMulH,
SMulH,
AddShift,
AddConst,
Sub,
Xor,
XorConst,
Rotate,
Target,
Branch,
}
Expand description
An instruction operation, without any of its arguments
Variants§
Mul
Opcode for Instruction::Mul
UMulH
Opcode for Instruction::UMulH
SMulH
Opcode for Instruction::SMulH
AddShift
Opcode for Instruction::AddShift
AddConst
Opcode for Instruction::AddConst
Sub
Opcode for Instruction::Sub
Xor
Opcode for Instruction::Xor
XorConst
Opcode for Instruction::XorConst
Rotate
Opcode for Instruction::Rotate
Target
Opcode for Instruction::Target
Branch
Opcode for Instruction::Branch
Trait Implementations§
impl Copy for Opcode
impl Eq for Opcode
impl StructuralPartialEq for Opcode
Auto Trait Implementations§
impl Freeze for Opcode
impl RefUnwindSafe for Opcode
impl Send for Opcode
impl Sync for Opcode
impl Unpin for Opcode
impl UnwindSafe for Opcode
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