#[repr(C)]pub struct BuildInfo {
pub autoload_infos_start: u32,
pub autoload_infos_end: u32,
pub autoload_blocks: u32,
pub bss_start: u32,
pub bss_end: u32,
pub compressed_code_end: u32,
pub sdk_version: u32,
/* private fields */
}Expand description
Build info for the ARM9 module. This is the raw version, see the plain one here.
Fields§
§autoload_infos_start: u32Offset to the start of super::AutoloadInfos.
autoload_infos_end: u32Offset to the end of super::AutoloadInfos.
autoload_blocks: u32Offset to where the autoload blocks start.
bss_start: u32Offset to the start of uninitialized data in this module.
bss_end: u32Offset to the end of uninitialized data in this module.
compressed_code_end: u32Size of this module after compression.
sdk_version: u32SDK version? Value is higher for newer games, but it’s unclear what this value is for.
Implementations§
source§impl BuildInfo
impl BuildInfo
sourcepub fn borrow_from_slice(data: &[u8]) -> Result<&Self, RawBuildInfoError>
pub fn borrow_from_slice(data: &[u8]) -> Result<&Self, RawBuildInfoError>
sourcepub fn borrow_from_slice_mut(
data: &mut [u8],
) -> Result<&mut Self, RawBuildInfoError>
pub fn borrow_from_slice_mut( data: &mut [u8], ) -> Result<&mut Self, RawBuildInfoError>
sourcepub fn is_compressed(&self) -> bool
pub fn is_compressed(&self) -> bool
Returns whether this BuildInfo is compressed.
sourcepub fn display(&self, indent: usize) -> DisplayBuildInfo<'_>
pub fn display(&self, indent: usize) -> DisplayBuildInfo<'_>
Creates a DisplayBuildInfo which implements Display.
Trait Implementations§
impl Copy for BuildInfo
impl Pod for BuildInfo
Auto Trait Implementations§
impl Freeze for BuildInfo
impl RefUnwindSafe for BuildInfo
impl Send for BuildInfo
impl Sync for BuildInfo
impl Unpin for BuildInfo
impl UnwindSafe for BuildInfo
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
source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)