[][src]Struct stivale::StivaleStructure

pub struct StivaleStructure { /* fields omitted */ }

The stivale structure

Implementations

impl StivaleStructure[src]

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

Get the command line passed in the structure by the bootloader, if any

pub fn framebuffer(&self) -> &FramebufferInfo[src]

Get the video framebuffer info

pub fn rsdp(&self) -> usize[src]

Get the ACPI RSDP structure pointer

pub fn epoch(&self) -> u64[src]

Get the current UNIX epoch during boot

pub fn flags(&self) -> StivaleFlags[src]

Get the flags passed by the bootloader

pub fn memory_map_iter(&self) -> MemoryMapIter

Important traits for MemoryMapIter<'a>

impl<'a> Iterator for MemoryMapIter<'a> type Item = &'a MemoryMapEntry;
[src]

Get an iterator over the memory map

pub fn module_iter(&self) -> ModuleIter

Important traits for ModuleIter<'a>

impl<'a> Iterator for ModuleIter<'a> type Item = &'a Module;
[src]

Get an iterator over all the modules loaded by the bootloader

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.