pub enum Instruction {
Nop(Nop),
Ld(Ld),
Xor(Xor),
}
Variants§
Implementations§
Source§impl Instruction
impl Instruction
pub fn get_instruction(&self) -> &dyn InstructionTrait
Trait Implementations§
Source§impl Debug for Instruction
impl Debug for Instruction
Source§impl Display for Instruction
impl Display for Instruction
Source§impl From<Ld> for Instruction
impl From<Ld> for Instruction
Source§impl From<Nop> for Instruction
impl From<Nop> for Instruction
Source§impl From<Xor> for Instruction
impl From<Xor> for Instruction
Source§impl PartialEq for Instruction
impl PartialEq for Instruction
impl StructuralPartialEq for Instruction
Auto Trait Implementations§
impl Freeze for Instruction
impl RefUnwindSafe for Instruction
impl Send for Instruction
impl Sync for Instruction
impl Unpin for Instruction
impl UnwindSafe for Instruction
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