Struct mame_parser::models::Rom
source · pub struct Rom {
pub name: String,
pub size: u64,
pub merge: Option<String>,
pub status: Option<String>,
pub crc: Option<String>,
pub sha1: Option<String>,
}Expand description
ROM file associated with a MAME machine.
Fields§
§name: StringThe name of the ROM file.
size: u64The size of the ROM file in bytes.
merge: Option<String>Indicates if the ROM is merged with another ROM (optional).
status: Option<String>The status of the ROM (optional).
crc: Option<String>The CRC32 hash of the ROM file (optional).
sha1: Option<String>The SHA-1 hash of the ROM file (optional).
Trait Implementations§
source§impl<'de> Deserialize<'de> for Rom
impl<'de> Deserialize<'de> for Rom
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Rom
impl RefUnwindSafe for Rom
impl Send for Rom
impl Sync for Rom
impl Unpin for Rom
impl UnwindSafe for Rom
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)