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: String
The name of the ROM file.
size: u64
The 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