Struct ds_rom::rom::BuildContext
source · pub struct BuildContext<'a> {Show 14 fields
pub header_offset: Option<u32>,
pub arm9_offset: Option<u32>,
pub arm7_offset: Option<u32>,
pub fnt_offset: Option<TableOffset>,
pub fat_offset: Option<TableOffset>,
pub arm9_ovt_offset: Option<TableOffset>,
pub arm7_ovt_offset: Option<TableOffset>,
pub banner_offset: Option<TableOffset>,
pub blowfish_key: Option<&'a BlowfishKey>,
pub arm9_autoload_callback: Option<u32>,
pub arm7_autoload_callback: Option<u32>,
pub arm9_build_info_offset: Option<u32>,
pub arm7_build_info_offset: Option<u32>,
pub rom_size: Option<u32>,
}Expand description
Build context, generated during Rom::build and later passed to Header::build to fill in the header.
Fields§
§header_offset: Option<u32>Header offset.
arm9_offset: Option<u32>ARM9 program offset.
arm7_offset: Option<u32>ARM7 program offset.
fnt_offset: Option<TableOffset>FNT offset.
fat_offset: Option<TableOffset>FAT offset.
arm9_ovt_offset: Option<TableOffset>ARM9 overlay table offset.
arm7_ovt_offset: Option<TableOffset>ARM7 overlay table offset.
Banner offset.
blowfish_key: Option<&'a BlowfishKey>Blowfish key.
arm9_autoload_callback: Option<u32>ARM9 autoload callback.
arm7_autoload_callback: Option<u32>ARM7 autoload callback.
arm9_build_info_offset: Option<u32>ARM9 build info offset.
arm7_build_info_offset: Option<u32>ARM7 build info offset.
rom_size: Option<u32>Total ROM size.
Trait Implementations§
source§impl<'a> Default for BuildContext<'a>
impl<'a> Default for BuildContext<'a>
source§fn default() -> BuildContext<'a>
fn default() -> BuildContext<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for BuildContext<'a>
impl<'a> RefUnwindSafe for BuildContext<'a>
impl<'a> Send for BuildContext<'a>
impl<'a> Sync for BuildContext<'a>
impl<'a> Unpin for BuildContext<'a>
impl<'a> UnwindSafe for BuildContext<'a>
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