pub struct GbAnalysis {
pub source_name: String,
pub region: Region,
pub region_string: String,
pub region_mismatch: bool,
pub system_type: String,
pub game_title: String,
pub destination_code: u8,
}Expand description
Struct to hold the analysis results for a Game Boy 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”).
region_mismatch: boolIf the region in the ROM header doesn’t match the region in the filename.
system_type: StringThe identified system type (e.g., “Game Boy (GB)” or “Game Boy Color (GBC)”).
game_title: StringThe game title extracted from the ROM header.
destination_code: u8The raw destination code byte.
Implementations§
Trait Implementations§
Source§impl Clone for GbAnalysis
impl Clone for GbAnalysis
Source§fn clone(&self) -> GbAnalysis
fn clone(&self) -> GbAnalysis
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 GbAnalysis
impl Debug for GbAnalysis
Source§impl PartialEq for GbAnalysis
impl PartialEq for GbAnalysis
Source§impl Serialize for GbAnalysis
impl Serialize for GbAnalysis
impl StructuralPartialEq for GbAnalysis
Auto Trait Implementations§
impl Freeze for GbAnalysis
impl RefUnwindSafe for GbAnalysis
impl Send for GbAnalysis
impl Sync for GbAnalysis
impl Unpin for GbAnalysis
impl UnwindSafe for GbAnalysis
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