pub struct Insn { /* private fields */ }
Implementations§
Source§impl Insn
impl Insn
pub fn address(&self) -> Address
pub fn itype(&self) -> InsnType
pub fn operand(&self, n: usize) -> Option<Operand>
pub fn operand_count(&self) -> usize
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn is_basic_block_end(&self, call_stops_block: bool) -> bool
pub fn is_call(&self) -> bool
pub fn is_indirect_jump(&self) -> bool
pub fn is_ret(&self) -> bool
pub fn is_ret_with(&self, iri: IsReturnFlags) -> bool
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