pub struct GenesisAnalysis {
pub source_name: String,
pub region: Region,
pub region_string: String,
pub region_mismatch: bool,
pub region_code_byte: u8,
pub console_name: String,
pub game_title_domestic: String,
pub game_title_international: String,
}Expand description
Struct to hold the analysis results for a Sega cartridge (Genesis/Mega Drive) 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., “USA (NTSC-U)”).
region_mismatch: boolIf the region in the ROM header doesn’t match the region in the filename.
region_code_byte: u8The raw region code byte.
console_name: StringThe detected console name (e.g., “SEGA MEGA DRIVE”, “SEGA GENESIS”).
game_title_domestic: StringThe domestic game title extracted from the ROM header.
game_title_international: StringThe international game title extracted from the ROM header.
Implementations§
Trait Implementations§
Source§impl Clone for GenesisAnalysis
impl Clone for GenesisAnalysis
Source§fn clone(&self) -> GenesisAnalysis
fn clone(&self) -> GenesisAnalysis
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 GenesisAnalysis
impl Debug for GenesisAnalysis
Source§impl PartialEq for GenesisAnalysis
impl PartialEq for GenesisAnalysis
Source§impl Serialize for GenesisAnalysis
impl Serialize for GenesisAnalysis
impl StructuralPartialEq for GenesisAnalysis
Auto Trait Implementations§
impl Freeze for GenesisAnalysis
impl RefUnwindSafe for GenesisAnalysis
impl Send for GenesisAnalysis
impl Sync for GenesisAnalysis
impl Unpin for GenesisAnalysis
impl UnwindSafe for GenesisAnalysis
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