pub enum Operands {
Reg(Register),
PCRelative(PCRelative),
Imm(Immediate),
Mem(Memory),
Unknown(Unknown),
}
Expand description
This enum represents the different kind of operands associated with super::Instruction
Variants§
Reg(Register)
A register operand (e.g. RIP
)
PCRelative(PCRelative)
A RIP/EIP-relative operand
Imm(Immediate)
An immediate value
Mem(Memory)
A memory operand
Unknown(Unknown)
Operand that is not correctly supported
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Operands
impl !Send for Operands
impl !Sync for Operands
impl Unpin for Operands
impl UnwindSafe for Operands
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