pub struct GameFileHeader {
pub id: String,
pub build: u32,
pub compiled_for_maikor_version: u16,
pub min_maikor_version: u16,
pub ram_bank_count: u8,
pub name: String,
pub version: String,
pub author: String,
pub code_bank_count: u8,
pub atlas_bank_count: u8,
}
Fields§
§id: String
Unique ID for app
build: u32
Build number of app (must be equal or higher than installed version)
compiled_for_maikor_version: u16
Target Maikor version (used for compatibility)
min_maikor_version: u16
Minimum supported Maikor Version (used for compatibility)
ram_bank_count: u8
Number of RAM banks needed by game
name: String
Game name
version: String
Game version
Game author
code_bank_count: u8
§atlas_bank_count: u8
Implementations§
Trait Implementations§
Source§impl Debug for GameFileHeader
impl Debug for GameFileHeader
Source§impl FileReadable for GameFileHeader
impl FileReadable for GameFileHeader
Source§impl PartialEq for GameFileHeader
impl PartialEq for GameFileHeader
Source§impl Readable for GameFileHeader
impl Readable for GameFileHeader
fn from_reader<R: ReaderExt>( reader: &mut R, ) -> Result<GameFileHeader, GameFileError>
impl Eq for GameFileHeader
impl StructuralPartialEq for GameFileHeader
Auto Trait Implementations§
impl Freeze for GameFileHeader
impl RefUnwindSafe for GameFileHeader
impl Send for GameFileHeader
impl Sync for GameFileHeader
impl Unpin for GameFileHeader
impl UnwindSafe for GameFileHeader
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