pub struct OpcodeError { /* private fields */ }
Expand description
Error that is returned when the processor encounters an invalid opcode
Implementations§
Source§impl OpcodeError
impl OpcodeError
pub fn new(opcode: u16, pc: u8) -> OpcodeError
Trait Implementations§
Source§impl Clone for OpcodeError
impl Clone for OpcodeError
Source§fn clone(&self) -> OpcodeError
fn clone(&self) -> OpcodeError
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 moreSource§impl Debug for OpcodeError
impl Debug for OpcodeError
Auto Trait Implementations§
impl Freeze for OpcodeError
impl RefUnwindSafe for OpcodeError
impl Send for OpcodeError
impl Sync for OpcodeError
impl Unpin for OpcodeError
impl UnwindSafe for OpcodeError
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