pub enum Chip8Error {
UnknownOpcode(u16),
PcOob(u16),
MemOob(usize),
StackOverflow,
StackUnderflow,
BadRegisterIndex(u8),
}Variants§
Trait Implementations§
Source§impl Clone for Chip8Error
impl Clone for Chip8Error
Source§fn clone(&self) -> Chip8Error
fn clone(&self) -> Chip8Error
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 moreSource§impl Debug for Chip8Error
impl Debug for Chip8Error
Auto Trait Implementations§
impl Freeze for Chip8Error
impl RefUnwindSafe for Chip8Error
impl Send for Chip8Error
impl Sync for Chip8Error
impl Unpin for Chip8Error
impl UnwindSafe for Chip8Error
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