pub struct NesAnalysis {
pub source_name: String,
pub region: Region,
pub region_string: String,
pub region_mismatch: bool,
pub region_byte_value: u8,
pub is_nes2_format: bool,
}Expand description
Struct to hold the analysis results for a NES 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., “NTSC (USA/Japan)”).
region_mismatch: boolIf the region in the ROM header doesn’t match the region in the filename.
region_byte_value: u8The raw byte value used for region determination (from iNES flag 9 or NES2 flag 12).
is_nes2_format: boolWhether the ROM header is in NES 2.0 format.
Implementations§
Trait Implementations§
Source§impl Clone for NesAnalysis
impl Clone for NesAnalysis
Source§fn clone(&self) -> NesAnalysis
fn clone(&self) -> NesAnalysis
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 NesAnalysis
impl Debug for NesAnalysis
Source§impl PartialEq for NesAnalysis
impl PartialEq for NesAnalysis
Source§impl Serialize for NesAnalysis
impl Serialize for NesAnalysis
impl StructuralPartialEq for NesAnalysis
Auto Trait Implementations§
impl Freeze for NesAnalysis
impl RefUnwindSafe for NesAnalysis
impl Send for NesAnalysis
impl Sync for NesAnalysis
impl Unpin for NesAnalysis
impl UnwindSafe for NesAnalysis
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)