pub struct DisasmLine {
pub addr: u16,
pub bytes: Vec<u8>,
pub mnemonic: &'static str,
pub operand: String,
}Expand description
One decoded instruction.
Fields§
§addr: u16PC at which the instruction starts.
bytes: Vec<u8>Raw opcode bytes (1-3 bytes).
mnemonic: &'static strMnemonic ("LDA", "BRK", …).
operand: StringFormatted operand, e.g. "$1234,X", "#$42", "".
Trait Implementations§
Source§impl Clone for DisasmLine
impl Clone for DisasmLine
Source§fn clone(&self) -> DisasmLine
fn clone(&self) -> DisasmLine
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DisasmLine
impl RefUnwindSafe for DisasmLine
impl Send for DisasmLine
impl Sync for DisasmLine
impl Unpin for DisasmLine
impl UnsafeUnpin for DisasmLine
impl UnwindSafe for DisasmLine
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