pub struct GbaAnalysis {
pub source_name: String,
pub region: Region,
pub region_string: String,
pub region_mismatch: bool,
pub game_title: String,
pub game_code: String,
pub maker_code: String,
}Expand description
Struct to hold the analysis results for a GBA 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.
game_title: StringThe game title extracted from the ROM header.
game_code: StringThe game code extracted from the ROM header.
maker_code: StringThe maker code extracted from the ROM header.
Implementations§
Trait Implementations§
Source§impl Clone for GbaAnalysis
impl Clone for GbaAnalysis
Source§fn clone(&self) -> GbaAnalysis
fn clone(&self) -> GbaAnalysis
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 GbaAnalysis
impl Debug for GbaAnalysis
Source§impl PartialEq for GbaAnalysis
impl PartialEq for GbaAnalysis
Source§impl Serialize for GbaAnalysis
impl Serialize for GbaAnalysis
impl StructuralPartialEq for GbaAnalysis
Auto Trait Implementations§
impl Freeze for GbaAnalysis
impl RefUnwindSafe for GbaAnalysis
impl Send for GbaAnalysis
impl Sync for GbaAnalysis
impl Unpin for GbaAnalysis
impl UnwindSafe for GbaAnalysis
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