pub struct BootInfo<'a> {
pub cmdline: Option<&'static str>,
pub memory_map: Option<&'a dyn MemoryMap>,
pub bootloader_name: Option<&'static str>,
pub output: Option<&'a dyn TextDisplay>,
}
Expand description
Bootloader-independent information.
Fields§
§cmdline: Option<&'static str>
The commandline of the kernel. See https://aphrodite-os.github.io/book/command-line.html for the format.
memory_map: Option<&'a dyn MemoryMap>
The memory map provided by the bootloader. If None, the kernel will attempt to generate it.
bootloader_name: Option<&'static str>
The name of the bootloader(for example, “GRUB 2.12”).
output: Option<&'a dyn TextDisplay>
Provides a way to display text.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for BootInfo<'a>
impl<'a> !RefUnwindSafe for BootInfo<'a>
impl<'a> !Send for BootInfo<'a>
impl<'a> !Sync for BootInfo<'a>
impl<'a> Unpin for BootInfo<'a>
impl<'a> !UnwindSafe for BootInfo<'a>
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
)