pub enum Operand {
Register(RegisterOperand),
Immediate(i64),
Memory(MemoryOperand),
Shift(ShiftOperand),
Extend(ExtendOperand),
Condition(ConditionCode),
RegisterList(RegisterListOperand),
SysReg(SysRegOperand),
}Expand description
Structured operand used by jit! and direct runtime encoding.
Variants§
Register(RegisterOperand)
Register operand.
Immediate(i64)
Immediate operand.
Memory(MemoryOperand)
Memory operand.
Shift(ShiftOperand)
Shift modifier operand.
Extend(ExtendOperand)
Extend modifier operand.
Condition(ConditionCode)
Condition-code operand.
RegisterList(RegisterListOperand)
Register list operand (expanded as consecutive registers).
SysReg(SysRegOperand)
System register operand.
Trait Implementations§
impl Copy for Operand
impl Eq for Operand
impl StructuralPartialEq for Operand
Auto Trait Implementations§
impl Freeze for Operand
impl RefUnwindSafe for Operand
impl Send for Operand
impl Sync for Operand
impl Unpin for Operand
impl UnsafeUnpin for Operand
impl UnwindSafe for Operand
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