Struct lldb::SBInstruction
source · [−]pub struct SBInstruction {
pub raw: SBInstructionRef,
}
Expand description
A machine instruction.
Fields
raw: SBInstructionRef
The underlying raw SBInstructionRef
.
Implementations
sourceimpl SBInstruction
impl SBInstruction
pub fn mnemonic(&self, target: &SBTarget) -> &str
pub fn operands(&self, target: &SBTarget) -> &str
pub fn comment(&self, target: &SBTarget) -> &str
pub fn data(&self, target: &SBTarget) -> SBData
pub fn byte_size(&self) -> usize
pub fn is_branch(&self) -> bool
pub fn has_delay_slot(&self) -> bool
Trait Implementations
sourceimpl Clone for SBInstruction
impl Clone for SBInstruction
sourcefn clone(&self) -> SBInstruction
fn clone(&self) -> SBInstruction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SBInstruction
impl Debug for SBInstruction
sourceimpl Drop for SBInstruction
impl Drop for SBInstruction
impl Send for SBInstruction
impl Sync for SBInstruction
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more