[][src]Struct stivale::StivaleStructure

pub struct StivaleStructure { /* fields omitted */ }

The stivale2 structure containing all the tags passed by the bootloader

Implementations

impl StivaleStructure[src]

pub fn bootloader_brand(&self) -> Option<&str>[src]

Get the bootloader brand that booted the kernel, if any

pub fn bootloader_version(&self) -> Option<&str>[src]

Get the bootloader version, if any

pub fn framebuffer(&self) -> Option<&FramebufferTag>[src]

Get the video framebuffer info tag

pub fn rsdp(&self) -> Option<&RSDPTag>[src]

Get the ACPI RSDP structure pointer

pub fn epoch(&self) -> Option<&EpochTag>[src]

Get the current UNIX epoch during boot

pub fn firmware(&self) -> Option<&FirmwareTag>[src]

Get the firmware tag passed by the bootloader

pub fn memory_map(&self) -> Option<&MemoryMapTag>[src]

Get the memory map tag

pub fn module(&self) -> Option<&ModuleTag>[src]

Get the module tag

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.