pub struct StivaleStructure { /* private fields */ }Expand description
The stivale2 structure containing all the tags passed by the bootloader
Implementations§
Source§impl StivaleStructure
impl StivaleStructure
Sourcepub fn bootloader_brand(&self) -> Option<&str>
pub fn bootloader_brand(&self) -> Option<&str>
Get the bootloader brand that booted the kernel, if any
Sourcepub fn bootloader_version(&self) -> Option<&str>
pub fn bootloader_version(&self) -> Option<&str>
Get the bootloader version, if any
Sourcepub fn framebuffer(&self) -> Option<&FramebufferTag>
pub fn framebuffer(&self) -> Option<&FramebufferTag>
Get the video framebuffer info tag
Sourcepub fn firmware(&self) -> Option<&FirmwareTag>
pub fn firmware(&self) -> Option<&FirmwareTag>
Get the firmware tag passed by the bootloader
Sourcepub fn memory_map(&self) -> Option<&MemoryMapTag>
pub fn memory_map(&self) -> Option<&MemoryMapTag>
Get the memory map tag
Auto Trait Implementations§
impl Freeze for StivaleStructure
impl RefUnwindSafe for StivaleStructure
impl !Send for StivaleStructure
impl !Sync for StivaleStructure
impl Unpin for StivaleStructure
impl UnwindSafe for StivaleStructure
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