pub struct MapperRevisionsConfig {
pub mmc3: Mmc3Revision,
pub bf909: Bf909Revision,
}
Expand description
Set of desired mapper revisions to use when loading a ROM matching the available mapper types.
Fields§
§mmc3: Mmc3Revision
MMC3 mapper revision.
bf909: Bf909Revision
BF909 mapper revision.
Implementations§
Source§impl MapperRevisionsConfig
impl MapperRevisionsConfig
Sourcepub const fn set(&mut self, rev: MapperRevision)
pub const fn set(&mut self, rev: MapperRevision)
Set the desired mapper revision to use when loading a ROM matching the available mapper types.
Trait Implementations§
Source§impl Clone for MapperRevisionsConfig
impl Clone for MapperRevisionsConfig
Source§fn clone(&self) -> MapperRevisionsConfig
fn clone(&self) -> MapperRevisionsConfig
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 MapperRevisionsConfig
impl Debug for MapperRevisionsConfig
Source§impl Default for MapperRevisionsConfig
impl Default for MapperRevisionsConfig
Source§fn default() -> MapperRevisionsConfig
fn default() -> MapperRevisionsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MapperRevisionsConfig
impl<'de> Deserialize<'de> for MapperRevisionsConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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 Hash for MapperRevisionsConfig
impl Hash for MapperRevisionsConfig
Source§impl PartialEq for MapperRevisionsConfig
impl PartialEq for MapperRevisionsConfig
Source§impl Serialize for MapperRevisionsConfig
impl Serialize for MapperRevisionsConfig
impl Copy for MapperRevisionsConfig
impl Eq for MapperRevisionsConfig
impl StructuralPartialEq for MapperRevisionsConfig
Auto Trait Implementations§
impl Freeze for MapperRevisionsConfig
impl RefUnwindSafe for MapperRevisionsConfig
impl Send for MapperRevisionsConfig
impl Sync for MapperRevisionsConfig
impl Unpin for MapperRevisionsConfig
impl UnwindSafe for MapperRevisionsConfig
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