pub struct Bk2Meta {
pub rerecord_count: u64,
pub author: Option<String>,
pub game_name: Option<String>,
pub sha1: Option<String>,
pub pal: bool,
}Expand description
Header metadata parsed from a .bk2 that has no home on Movie.
Mirrors crate::movie_interop::Fm2Meta: Movie carries only what .rnm
needs; the rest is surfaced here for the caller to display or persist.
Fields§
§rerecord_count: u64The rerecordCount header value (0 if absent).
The movie author (Author header), if present.
game_name: Option<String>The GameName header value, if present.
sha1: Option<String>The SHA1 header value, stored verbatim (a hex SHA-1). Not validated
against the ROM — the authoritative SHA-256 identity is supplied
separately by the caller.
pal: booltrue if the header declared a PAL region (PAL 1).
Trait Implementations§
impl Eq for Bk2Meta
impl StructuralPartialEq for Bk2Meta
Auto Trait Implementations§
impl Freeze for Bk2Meta
impl RefUnwindSafe for Bk2Meta
impl Send for Bk2Meta
impl Sync for Bk2Meta
impl Unpin for Bk2Meta
impl UnsafeUnpin for Bk2Meta
impl UnwindSafe for Bk2Meta
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