pub struct DisassembledInstr {
pub addr: usize,
pub opcode: u8,
pub mnemonic: &'static str,
pub keep: bool,
pub ret: bool,
pub short: bool,
pub literal: Option<u16>,
pub raw_bytes: [u8; 4],
pub raw_len: usize,
}Expand description
A disassembled Uxn instruction
Fields§
§addr: usizeAddress of the instruction
opcode: u8Opcode byte
mnemonic: &'static strMnemonic string
keep: boolKeep flag
ret: boolReturn flag
short: boolShort flag
literal: Option<u16>Optional literal value
raw_bytes: [u8; 4]Raw bytes of the instruction (max 4)
raw_len: usizeLength of the instruction in bytes
Auto Trait Implementations§
impl Freeze for DisassembledInstr
impl RefUnwindSafe for DisassembledInstr
impl Send for DisassembledInstr
impl Sync for DisassembledInstr
impl Unpin for DisassembledInstr
impl UnsafeUnpin for DisassembledInstr
impl UnwindSafe for DisassembledInstr
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