pub struct MasterSystemAnalysis {
pub source_name: String,
pub region: Region,
pub region_string: String,
pub region_mismatch: bool,
pub region_byte: u8,
}Expand description
Struct to hold the analysis results for a Master System 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_byte: u8The raw region byte value.
Implementations§
Trait Implementations§
Source§impl Clone for MasterSystemAnalysis
impl Clone for MasterSystemAnalysis
Source§fn clone(&self) -> MasterSystemAnalysis
fn clone(&self) -> MasterSystemAnalysis
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 MasterSystemAnalysis
impl Debug for MasterSystemAnalysis
Source§impl PartialEq for MasterSystemAnalysis
impl PartialEq for MasterSystemAnalysis
Source§impl Serialize for MasterSystemAnalysis
impl Serialize for MasterSystemAnalysis
impl StructuralPartialEq for MasterSystemAnalysis
Auto Trait Implementations§
impl Freeze for MasterSystemAnalysis
impl RefUnwindSafe for MasterSystemAnalysis
impl Send for MasterSystemAnalysis
impl Sync for MasterSystemAnalysis
impl Unpin for MasterSystemAnalysis
impl UnwindSafe for MasterSystemAnalysis
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)