pub struct Insn {
pub pc: u32,
pub size: u32,
pub op: u8,
pub kind: InsnKind,
}Expand description
One decoded instruction.
Fields§
§pc: u32Code-unit offset of the first unit.
size: u32Total code units consumed (payloads excluded — they are not Insns).
op: u8§kind: InsnKindImplementations§
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 UnsafeUnpin 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