Enum Mapper

Source
pub enum Mapper {
Show 26 variants None(None), Nrom(Nrom), Sxrom(Sxrom), Uxrom(Uxrom), Cnrom(Cnrom), Txrom(Txrom), Exrom(Exrom), Axrom(Axrom), Pxrom(Pxrom), Fxrom(Fxrom), ColorDreams(ColorDreams), BandaiFCG(BandaiFCG), JalecoSs88006(JalecoSs88006), Namco163(Namco163), Vrc6(Vrc6), Bnrom(Bnrom), Nina001(Nina001), Gxrom(Gxrom), SunsoftFme7(SunsoftFme7), Bf909x(Bf909x), Dxrom76(Dxrom76), Nina003006(Nina003006), Dxrom88(Dxrom88), Dxrom95(Dxrom95), Dxrom154(Dxrom154), Dxrom206(Dxrom206),
}

Variants§

§

None(None)

§

Nrom(Nrom)

NROM (Mapper 000)

§

Sxrom(Sxrom)

SxROM/MMC1 (Mapper 001)

§

Uxrom(Uxrom)

UxROM (Mapper 002)

§

Cnrom(Cnrom)

CNROM (Mapper 003)

§

Txrom(Txrom)

TxROM/MMC3 (Mapper 004)

§

Exrom(Exrom)

ExROM/MMC5 (Mapper 5)

§

Axrom(Axrom)

AxROM (Mapper 007)

§

Pxrom(Pxrom)

PxROM/MMC2 (Mapper 009)

§

Fxrom(Fxrom)

FxROM/MMC4 (Mapper 010)

§

ColorDreams(ColorDreams)

Color Dreams (Mapper 011)

§

BandaiFCG(BandaiFCG)

Bandai FCG (Mappers 016, 153, 157, and 159)

§

JalecoSs88006(JalecoSs88006)

Jaleco SS88006 (Mapper 018)

§

Namco163(Namco163)

Namco163 (Mapper 019)

§

Vrc6(Vrc6)

VRC6 (Mapper 024).

§

Bnrom(Bnrom)

BNROM (Mapper 034).

§

Nina001(Nina001)

NINA-001 (Mapper 034).

§

Gxrom(Gxrom)

GxROM (Mapper 066).

§

SunsoftFme7(SunsoftFme7)

Sunsoft FME7 (Mapper 069).

§

Bf909x(Bf909x)

Bf909x (Mapper 071).

§

Dxrom76(Dxrom76)

DxROM/NAMCOT-3446 (Mapper 076).

§

Nina003006(Nina003006)

NINA-003/NINA-006 (Mapper 079).

§

Dxrom88(Dxrom88)

DxROM/Namco 108 (Mapper 088).

§

Dxrom95(Dxrom95)

DxROM/NAMCOT-3425 (Mapper 095).

§

Dxrom154(Dxrom154)

DxROM/NAMCOT-3453 (Mapper 154).

§

Dxrom206(Dxrom206)

DxROM/Namco 108 (Mapper 206).

Implementations§

Source§

impl Mapper

Source

pub fn none() -> Self

Source

pub const fn is_none(&self) -> bool

Trait Implementations§

Source§

impl Clock for Mapper

Source§

fn clock(&mut self) -> u64

Clock component a single time, returning the number of cycles clocked.

Source§

impl Clone for Mapper

Source§

fn clone(&self) -> Mapper

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Mapper

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Mapper

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for Mapper

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<Axrom> for Mapper

Source§

fn from(v: Axrom) -> Mapper

Converts to this type from the input type.
Source§

impl From<BandaiFCG> for Mapper

Source§

fn from(v: BandaiFCG) -> Mapper

Converts to this type from the input type.
Source§

impl From<Bf909x> for Mapper

Source§

fn from(v: Bf909x) -> Mapper

Converts to this type from the input type.
Source§

impl From<Bnrom> for Mapper

Source§

fn from(v: Bnrom) -> Mapper

Converts to this type from the input type.
Source§

impl From<Cnrom> for Mapper

Source§

fn from(v: Cnrom) -> Mapper

Converts to this type from the input type.
Source§

impl From<ColorDreams> for Mapper

Source§

fn from(v: ColorDreams) -> Mapper

Converts to this type from the input type.
Source§

impl From<Dxrom> for Mapper

Source§

fn from(v: Dxrom76) -> Mapper

Converts to this type from the input type.
Source§

impl From<Dxrom> for Mapper

Source§

fn from(v: Dxrom88) -> Mapper

Converts to this type from the input type.
Source§

impl From<Dxrom> for Mapper

Source§

fn from(v: Dxrom95) -> Mapper

Converts to this type from the input type.
Source§

impl From<Dxrom> for Mapper

Source§

fn from(v: Dxrom154) -> Mapper

Converts to this type from the input type.
Source§

impl From<Dxrom> for Mapper

Source§

fn from(v: Dxrom206) -> Mapper

Converts to this type from the input type.
Source§

impl From<Exrom> for Mapper

Source§

fn from(v: Exrom) -> Mapper

Converts to this type from the input type.
Source§

impl From<Fxrom> for Mapper

Source§

fn from(v: Fxrom) -> Mapper

Converts to this type from the input type.
Source§

impl From<Gxrom> for Mapper

Source§

fn from(v: Gxrom) -> Mapper

Converts to this type from the input type.
Source§

impl From<JalecoSs88006> for Mapper

Source§

fn from(v: JalecoSs88006) -> Mapper

Converts to this type from the input type.
Source§

impl From<Namco163> for Mapper

Source§

fn from(v: Namco163) -> Mapper

Converts to this type from the input type.
Source§

impl From<Nina001> for Mapper

Source§

fn from(v: Nina001) -> Mapper

Converts to this type from the input type.
Source§

impl From<Nina003006> for Mapper

Source§

fn from(v: Nina003006) -> Mapper

Converts to this type from the input type.
Source§

impl From<None> for Mapper

Source§

fn from(v: None) -> Mapper

Converts to this type from the input type.
Source§

impl From<Nrom> for Mapper

Source§

fn from(v: Nrom) -> Mapper

Converts to this type from the input type.
Source§

impl From<Pxrom> for Mapper

Source§

fn from(v: Pxrom) -> Mapper

Converts to this type from the input type.
Source§

impl From<SunsoftFme7> for Mapper

Source§

fn from(v: SunsoftFme7) -> Mapper

Converts to this type from the input type.
Source§

impl From<Sxrom> for Mapper

Source§

fn from(v: Sxrom) -> Mapper

Converts to this type from the input type.
Source§

impl From<Txrom> for Mapper

Source§

fn from(v: Txrom) -> Mapper

Converts to this type from the input type.
Source§

impl From<Uxrom> for Mapper

Source§

fn from(v: Uxrom) -> Mapper

Converts to this type from the input type.
Source§

impl From<Vrc6> for Mapper

Source§

fn from(v: Vrc6) -> Mapper

Converts to this type from the input type.
Source§

impl MapRead for Mapper

Source§

fn map_read(&mut self, __enum_dispatch_arg_0: u16) -> MappedRead

Source§

fn map_peek(&self, __enum_dispatch_arg_0: u16) -> MappedRead

Source§

impl MapWrite for Mapper

Source§

fn map_write( &mut self, __enum_dispatch_arg_0: u16, __enum_dispatch_arg_1: u8, ) -> MappedWrite

Source§

impl Mirrored for Mapper

Source§

fn mirroring(&self) -> Mirroring

Source§

fn set_mirroring(&mut self, __enum_dispatch_arg_0: Mirroring)

Source§

impl OnBusRead for Mapper

Source§

fn on_bus_read( &mut self, __enum_dispatch_arg_0: u16, __enum_dispatch_arg_1: BusKind, )

Source§

impl OnBusWrite for Mapper

Source§

fn on_bus_write( &mut self, __enum_dispatch_arg_0: u16, __enum_dispatch_arg_1: u8, __enum_dispatch_arg_2: BusKind, )

Source§

impl Regional for Mapper

Source§

fn region(&self) -> NesRegion

Return the current region.

Source§

fn set_region(&mut self, __enum_dispatch_arg_0: NesRegion)

Set the region.

Source§

impl Reset for Mapper

Source§

fn reset(&mut self, __enum_dispatch_arg_0: ResetKind)

Reset the component given the [ResetKind].

Source§

impl Serialize for Mapper

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Sram for Mapper

Source§

fn save(&self, __enum_dispatch_arg_0: impl AsRef<Path>) -> Result<()>

Save RAM to a given path.

Source§

fn load(&mut self, __enum_dispatch_arg_0: impl AsRef<Path>) -> Result<()>

Load save RAM from a given path.

Source§

impl TryInto<Axrom> for Mapper

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<Axrom, <Self as TryInto<Axrom>>::Error>

Performs the conversion.
Source§

impl TryInto<BandaiFCG> for Mapper

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<BandaiFCG, <Self as TryInto<BandaiFCG>>::Error>

Performs the conversion.
Source§

impl TryInto<Bf909x> for Mapper

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<Bf909x, <Self as TryInto<Bf909x>>::Error>

Performs the conversion.
Source§

impl TryInto<Bnrom> for Mapper

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<Bnrom, <Self as TryInto<Bnrom>>::Error>

Performs the conversion.
Source§

impl TryInto<Cnrom> for Mapper

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<Cnrom, <Self as TryInto<Cnrom>>::Error>

Performs the conversion.
Source§

impl TryInto<ColorDreams> for Mapper

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<ColorDreams, <Self as TryInto<ColorDreams>>::Error>

Performs the conversion.
Source§

impl TryInto<Dxrom> for Mapper

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<Dxrom76, <Self as TryInto<Dxrom76>>::Error>

Performs the conversion.
Source§

impl TryInto<Dxrom> for Mapper

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<Dxrom88, <Self as TryInto<Dxrom88>>::Error>

Performs the conversion.
Source§

impl TryInto<Dxrom> for Mapper

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<Dxrom95, <Self as TryInto<Dxrom95>>::Error>

Performs the conversion.
Source§

impl TryInto<Dxrom> for Mapper

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<Dxrom154, <Self as TryInto<Dxrom154>>::Error>

Performs the conversion.
Source§

impl TryInto<Dxrom> for Mapper

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<Dxrom206, <Self as TryInto<Dxrom206>>::Error>

Performs the conversion.
Source§

impl TryInto<Exrom> for Mapper

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<Exrom, <Self as TryInto<Exrom>>::Error>

Performs the conversion.
Source§

impl TryInto<Fxrom> for Mapper

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<Fxrom, <Self as TryInto<Fxrom>>::Error>

Performs the conversion.
Source§

impl TryInto<Gxrom> for Mapper

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<Gxrom, <Self as TryInto<Gxrom>>::Error>

Performs the conversion.
Source§

impl TryInto<JalecoSs88006> for Mapper

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_into( self, ) -> Result<JalecoSs88006, <Self as TryInto<JalecoSs88006>>::Error>

Performs the conversion.
Source§

impl TryInto<Namco163> for Mapper

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<Namco163, <Self as TryInto<Namco163>>::Error>

Performs the conversion.
Source§

impl TryInto<Nina001> for Mapper

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<Nina001, <Self as TryInto<Nina001>>::Error>

Performs the conversion.
Source§

impl TryInto<Nina003006> for Mapper

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<Nina003006, <Self as TryInto<Nina003006>>::Error>

Performs the conversion.
Source§

impl TryInto<None> for Mapper

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<None, <Self as TryInto<None>>::Error>

Performs the conversion.
Source§

impl TryInto<Nrom> for Mapper

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<Nrom, <Self as TryInto<Nrom>>::Error>

Performs the conversion.
Source§

impl TryInto<Pxrom> for Mapper

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<Pxrom, <Self as TryInto<Pxrom>>::Error>

Performs the conversion.
Source§

impl TryInto<SunsoftFme7> for Mapper

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<SunsoftFme7, <Self as TryInto<SunsoftFme7>>::Error>

Performs the conversion.
Source§

impl TryInto<Sxrom> for Mapper

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<Sxrom, <Self as TryInto<Sxrom>>::Error>

Performs the conversion.
Source§

impl TryInto<Txrom> for Mapper

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<Txrom, <Self as TryInto<Txrom>>::Error>

Performs the conversion.
Source§

impl TryInto<Uxrom> for Mapper

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<Uxrom, <Self as TryInto<Uxrom>>::Error>

Performs the conversion.
Source§

impl TryInto<Vrc6> for Mapper

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<Vrc6, <Self as TryInto<Vrc6>>::Error>

Performs the conversion.

Auto Trait Implementations§

§

impl Freeze for Mapper

§

impl RefUnwindSafe for Mapper

§

impl Send for Mapper

§

impl Sync for Mapper

§

impl Unpin for Mapper

§

impl UnwindSafe for Mapper

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,