Struct bootloader_modules::BootloaderModule
source · pub struct BootloaderModule { /* private fields */ }
Expand description
A record of a bootloader module’s name and location in physical memory.
Implementations§
source§impl BootloaderModule
impl BootloaderModule
pub fn new( start_paddr: PhysicalAddress, end_paddr: PhysicalAddress, name: String ) -> BootloaderModule
pub fn start_address(&self) -> PhysicalAddress
pub fn end_address(&self) -> PhysicalAddress
pub fn name(&self) -> &String
pub fn size_in_bytes(&self) -> usize
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for BootloaderModule
impl Send for BootloaderModule
impl Sync for BootloaderModule
impl Unpin for BootloaderModule
impl UnwindSafe for BootloaderModule
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