[−][src]Enum olympia_engine::gameboy::MemoryError
Represents a failure to read from memory.
Variants
The address maps to the Cartridge ROM area, but the currently loaded cartridge does not have ROM at this address. This can happen for MBC1/SROM cartridges that have less than 8KB of storage
The address maps to the Cartridge RAM area, but the currently loaded cartridge does not have RAM at this address. This can happen for cartridges that have < 2KB of RAM, including no RAM
The address maps to an area that is unmapped for the current gameboy model. This can include areas that are unmapped in all models, or registers that only exist on Game Boy Color
Trait Implementations
impl Clone for MemoryError
[src]
fn clone(&self) -> MemoryError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MemoryError
[src]
impl Eq for MemoryError
[src]
impl From<MemoryError> for StepError
[src]
fn from(err: MemoryError) -> Self
[src]
impl PartialEq<MemoryError> for MemoryError
[src]
fn eq(&self, other: &MemoryError) -> bool
[src]
fn ne(&self, other: &MemoryError) -> bool
[src]
impl StructuralEq for MemoryError
[src]
impl StructuralPartialEq for MemoryError
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,