pub struct FirmHeader { /* private fields */ }Expand description
FIRM header data https://www.3dbrew.org/wiki/FIRM#FIRM_Header
Implementations§
Source§impl FirmHeader
impl FirmHeader
Sourcepub fn boot_priority(&self) -> u32
pub fn boot_priority(&self) -> u32
Returns the boot priority, higher value = higher boot priority
Sourcepub fn arm11_entrypoint(&self) -> u32
pub fn arm11_entrypoint(&self) -> u32
Returns entry point address for the ARM11 CPU
Sourcepub fn arm9_entrypoint(&self) -> u32
pub fn arm9_entrypoint(&self) -> u32
Returns entry point address for ARM9 CPU
Sourcepub fn sections(&self) -> &[SectionHeader; 4]
pub fn sections(&self) -> &[SectionHeader; 4]
Returns a reference to array of section headers
Sourcepub fn section_iter(&self) -> impl Iterator<Item = &SectionHeader>
pub fn section_iter(&self) -> impl Iterator<Item = &SectionHeader>
Returns an iterator over section headers, ignoring headers that aren’t used(have size of 0)
Trait Implementations§
Source§impl Clone for FirmHeader
impl Clone for FirmHeader
Source§fn clone(&self) -> FirmHeader
fn clone(&self) -> FirmHeader
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FirmHeader
impl RefUnwindSafe for FirmHeader
impl Send for FirmHeader
impl Sync for FirmHeader
impl Unpin for FirmHeader
impl UnsafeUnpin for FirmHeader
impl UnwindSafe for FirmHeader
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