pub struct RomEntry { /* private fields */ }Expand description
A ROM database entry
Implementations§
Source§impl RomEntry
impl RomEntry
Sourcepub fn matches_checksum(&self, sum: u32) -> bool
pub fn matches_checksum(&self, sum: u32) -> bool
Returns whether the given checksum matches this ROM image.
Sourcepub fn matches_sha1(&self, sha1: &[u8; 20]) -> bool
pub fn matches_sha1(&self, sha1: &[u8; 20]) -> bool
Returns whether the given SHA1 matches this ROM image.
Trait Implementations§
impl Eq for RomEntry
impl StructuralPartialEq for RomEntry
Auto Trait Implementations§
impl Freeze for RomEntry
impl RefUnwindSafe for RomEntry
impl Send for RomEntry
impl Sync for RomEntry
impl Unpin for RomEntry
impl UnsafeUnpin for RomEntry
impl UnwindSafe for RomEntry
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