pub enum RomWriteError {
Unsupported(RomSpace),
OutOfRange {
space: RomSpace,
offset: usize,
len: usize,
},
}Expand description
Why a debugger ROM write (Nes::debug_poke_rom) changed nothing.
Variants§
Unsupported(RomSpace)
The loaded board does not offer that ROM section as a plain buffer in
image order: a CHR-RAM board’s CHR, a self-flashable board’s PRG, a
copier’s DRAM, an FDS disk or an NSF (see
Mapper::debug_prg_rom_mut).
OutOfRange
The offset is past the section’s end.
Trait Implementations§
Source§impl Clone for RomWriteError
impl Clone for RomWriteError
impl Copy for RomWriteError
Source§impl Debug for RomWriteError
impl Debug for RomWriteError
Source§impl Display for RomWriteError
impl Display for RomWriteError
impl Eq for RomWriteError
Source§impl PartialEq for RomWriteError
impl PartialEq for RomWriteError
impl StructuralPartialEq for RomWriteError
Auto Trait Implementations§
impl Freeze for RomWriteError
impl RefUnwindSafe for RomWriteError
impl Send for RomWriteError
impl Sync for RomWriteError
impl Unpin for RomWriteError
impl UnsafeUnpin for RomWriteError
impl UnwindSafe for RomWriteError
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