#[repr(C)]
pub struct StivaleModuleTag { pub header: StivaleTagHeader, pub module_len: u64, pub modules_array: [StivaleModule], }
Expand description

This tag is used to get the modules that the bootloader loaded alongside the kernel, if any.

Fields

header: StivaleTagHeadermodule_len: u64

Length of the modules array.

modules_array: [StivaleModule]

The variable length modules array.

Implementations

Returns an iterator over all the modules that were loaded.

Return’s the modules array pointer as a rust slice.

Safety

ptr must be a pointer to a properly initialized StivaleModuleTag struct with module_count entries in the modules_array

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more