pub struct Arm7<'a> { /* private fields */ }Expand description
ARM7 program.
Implementations§
Source§impl<'a> Arm7<'a>
impl<'a> Arm7<'a>
Sourcepub fn new<T: Into<Cow<'a, [u8]>>>(data: T, offsets: Arm7Offsets) -> Self
pub fn new<T: Into<Cow<'a, [u8]>>>(data: T, offsets: Arm7Offsets) -> Self
Creates a new ARM7 program from raw data.
Sourcepub fn base_address(&self) -> u32
pub fn base_address(&self) -> u32
Returns the base address of this.
Sourcepub fn entry_function(&self) -> u32
pub fn entry_function(&self) -> u32
Returns the entrypoint function address.
Sourcepub fn build_info_offset(&self) -> u32
pub fn build_info_offset(&self) -> u32
Returns the build info offset.
Sourcepub fn autoload_callback(&self) -> u32
pub fn autoload_callback(&self) -> u32
Returns the autoload callback address.
Sourcepub fn offsets(&self) -> &Arm7Offsets
pub fn offsets(&self) -> &Arm7Offsets
Returns a reference to the ARM7 offsets.
Auto Trait Implementations§
impl<'a> Freeze for Arm7<'a>
impl<'a> RefUnwindSafe for Arm7<'a>
impl<'a> Send for Arm7<'a>
impl<'a> Sync for Arm7<'a>
impl<'a> Unpin for Arm7<'a>
impl<'a> UnsafeUnpin for Arm7<'a>
impl<'a> UnwindSafe for Arm7<'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