pub struct Insn { /* private fields */ }
Implementations§
source§impl Insn
impl Insn
pub fn clear(&mut self)
pub fn flags(&self) -> &Flags
pub fn flags_mut(&mut self) -> &mut Flags
pub fn is_alias(&self) -> bool
pub fn set_alias(&mut self)
pub fn slot(&self) -> Slot
pub fn set_slot(&mut self, slot: Slot)
pub fn opcode(&self) -> Opcode
pub fn set_opcode(&mut self, opcode: Opcode)
pub fn operands(&self) -> &[Operand]
pub fn push_operand<T>(&mut self, operand: T)
pub fn push_operand_if_some<T>(&mut self, operand: Option<T>)
pub fn push_reg(&mut self, reg: Reg)
pub fn push_offset(&mut self, reg: Reg, offset: i64)
pub fn push_imm(&mut self, value: i64)
pub fn push_uimm(&mut self, value: u64)
pub fn push_absolute(&mut self, addr: u64)
pub fn push_indirect(&mut self, reg: Reg)
pub fn push_arch_spec(&mut self, a: u64, b: u64, c: u64)
pub fn push_arch_spec3( &mut self, a: impl Into<u64>, b: impl Into<u64>, c: impl Into<u64>, )
pub fn push_arch_spec2(&mut self, a: impl Into<u64>, b: impl Into<u64>)
pub fn push_arch_spec1(&mut self, a: impl Into<u64>)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Insn
impl RefUnwindSafe for Insn
impl Send for Insn
impl Sync for Insn
impl Unpin for Insn
impl UnwindSafe for Insn
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)