pub struct Details<'i> { /* private fields */ }Expand description
Extra details about an isntruction.
Implementations§
Source§impl<'i> Details<'i>
impl<'i> Details<'i>
Sourcepub fn regs_read(self) -> &'i [Reg]
pub fn regs_read(self) -> &'i [Reg]
Returns a list of registers that are implicitly read from by an instruction. For explicitly read registers, use the architecture specific details to access the operands of the instruction.
Sourcepub fn regs_write(self) -> &'i [Reg]
pub fn regs_write(self) -> &'i [Reg]
Returns a list of registers that are implicitly written to by this instruction. For registers that are explicitly written to, use the architecture specific details to access the operands of the instruction.
pub fn groups(self) -> &'i [InsnGroup]
Sourcepub fn arch(self) -> ArchDetails<'i>
pub fn arch(self) -> ArchDetails<'i>
Returns architecture specific details.
Sourcepub fn x86(self) -> Option<&'i Details<'i>>
pub fn x86(self) -> Option<&'i Details<'i>>
If these are details for an x86 instruction, this will return
x86 specific details. If these are not details for an x86 instruction
this will return Option::None.
Trait Implementations§
Auto Trait Implementations§
impl<'i> Freeze for Details<'i>
impl<'i> RefUnwindSafe for Details<'i>
impl<'i> Send for Details<'i>
impl<'i> Sync for Details<'i>
impl<'i> Unpin for Details<'i>
impl<'i> UnwindSafe for Details<'i>
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