pub struct Module {
pub mod_start: *const u8,
pub mod_end: *const u8,
pub mod_str: &'static CStr,
}
Expand description
A Multiboot2 module. See https://aphrodite-os.github.io/book/bootloader-modules.html.
Fields§
§mod_start: *const u8
A pointer to the start of the module
mod_end: *const u8
A pointer to the end of the module
mod_str: &'static CStr
A string that should be in the format module_name (command line arguments)
.
See https://aphrodite-os.github.io/book/bootloader-modules.html.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Module
impl RefUnwindSafe for Module
impl !Send for Module
impl !Sync for Module
impl Unpin for Module
impl UnwindSafe for Module
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)