Struct mos6502_model::debug::Instruction
source · pub struct Instruction { /* private fields */ }
Implementations§
source§impl Instruction
impl Instruction
pub fn size(&self) -> usize
pub fn from_opcode(opcode: u8) -> Result<Self, UnknownOpcode>
pub fn instruction_type(&self) -> InstructionType
pub fn addressing_mode(&self) -> AddressingMode
Trait Implementations§
source§impl Clone for Instruction
impl Clone for Instruction
source§fn clone(&self) -> Instruction
fn clone(&self) -> Instruction
Returns a copy 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 more