pub struct GcmFile {
pub game_id: GameId,
pub disc_number: u8,
pub revision: u8,
pub internal_name: String,
pub dol_offset: u32,
pub dol: DolFile,
pub filesystem: FileSystem,
pub boot_bin: Vec<u8>,
pub bi2_bin: Vec<u8>,
pub apploader_header: ApploaderHeader,
pub apploader: Vec<u8>,
pub fst_bytes: Vec<u8>,
/* private fields */
}
Expand description
A parsed GCM/ISO file
Fields§
§game_id: GameId
§disc_number: u8
§revision: u8
§internal_name: String
§dol_offset: u32
§dol: DolFile
§filesystem: FileSystem
§boot_bin: Vec<u8>
§bi2_bin: Vec<u8>
§apploader_header: ApploaderHeader
§apploader: Vec<u8>
§fst_bytes: Vec<u8>
Implementations§
Trait Implementations§
Source§impl BinRead for GcmFile
impl BinRead for GcmFile
Source§type Args = ()
type Args = ()
The type of arguments needed to be supplied in order to read this type, usually a tuple. Read more
Source§fn read_options<R: Read + Seek>(
__binread_generated_var_reader: &mut R,
__binread_generated_var_options: &ReadOptions,
__binread_generated_var_arguments: Self::Args,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binread_generated_var_reader: &mut R, __binread_generated_var_options: &ReadOptions, __binread_generated_var_arguments: Self::Args, ) -> BinResult<Self>
Read the type from the reader
fn after_parse<R: Read + Seek>( &mut self, __binread_generated_var_reader: &mut R, __binread_generated_var_options: &ReadOptions, __binread_generated_var_arguments: Self::Args, ) -> BinResult<()>
Source§fn read<R>(reader: &mut R) -> Result<Self, Error>
fn read<R>(reader: &mut R) -> Result<Self, Error>
Read the type from the reader while assuming no arguments have been passed Read more
Auto Trait Implementations§
impl Freeze for GcmFile
impl RefUnwindSafe for GcmFile
impl Send for GcmFile
impl Sync for GcmFile
impl Unpin for GcmFile
impl UnwindSafe for GcmFile
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