pub struct SnesAnalysis {
pub source_name: String,
pub region: Region,
pub region_string: String,
pub region_mismatch: bool,
pub region_code: u8,
pub game_title: String,
pub mapping_type: String,
}Expand description
Struct to hold the analysis results for a SNES ROM.
Fields§
§source_name: StringThe name of the source file.
region: RegionThe identified region(s) as a region::Region bitmask.
region_string: StringThe identified region name (e.g., “Japan (NTSC)”).
region_mismatch: boolIf the region in the ROM header doesn’t match the region in the filename.
region_code: u8The raw region code byte.
game_title: StringThe game title extracted from the ROM header.
mapping_type: StringThe detected mapping type (e.g., “LoROM”, “HiROM”).
Implementations§
Trait Implementations§
Source§impl Clone for SnesAnalysis
impl Clone for SnesAnalysis
Source§fn clone(&self) -> SnesAnalysis
fn clone(&self) -> SnesAnalysis
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SnesAnalysis
impl Debug for SnesAnalysis
Source§impl PartialEq for SnesAnalysis
impl PartialEq for SnesAnalysis
Source§impl Serialize for SnesAnalysis
impl Serialize for SnesAnalysis
impl StructuralPartialEq for SnesAnalysis
Auto Trait Implementations§
impl Freeze for SnesAnalysis
impl RefUnwindSafe for SnesAnalysis
impl Send for SnesAnalysis
impl Sync for SnesAnalysis
impl Unpin for SnesAnalysis
impl UnwindSafe for SnesAnalysis
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)