[−][src]Struct multiboot2::BootInformation
A Multiboot 2 Boot Information struct.
Implementations
impl BootInformation
[src]
pub fn start_address(&self) -> usize
[src]
Get the start address of the boot info.
pub fn end_address(&self) -> usize
[src]
Get the end address of the boot info.
This is the same as doing:
let end_addr = boot_info.start_address() + boot_info.size();
pub fn total_size(&self) -> usize
[src]
Get the total size of the boot info struct.
pub fn elf_sections_tag(&self) -> Option<ElfSectionsTag>
[src]
Search for the ELF Sections tag.
pub fn memory_map_tag<'a>(&'a self) -> Option<&'a MemoryMapTag>
[src]
Search for the Memory map tag.
pub fn module_tags(&self) -> ModuleIter<'_>ⓘNotable traits for ModuleIter<'a>
impl<'a> Iterator for ModuleIter<'a> type Item = &'a ModuleTag;
[src]
Notable traits for ModuleIter<'a>
impl<'a> Iterator for ModuleIter<'a> type Item = &'a ModuleTag;
Get an iterator of all module tags.
pub fn boot_loader_name_tag<'a>(&'a self) -> Option<&'a BootLoaderNameTag>
[src]
Search for the BootLoader name tag.
pub fn command_line_tag<'a>(&'a self) -> Option<&'a CommandLineTag>
[src]
Search for the Command line tag.
pub fn framebuffer_tag<'a>(&'a self) -> Option<FramebufferTag<'a>>
[src]
Search for the VBE framebuffer tag.
pub fn efi_sdt_32_tag<'a>(&self) -> Option<&'a EFISdt32>
[src]
Search for the EFI 32-bit SDT tag.
pub fn efi_sdt_64_tag<'a>(&self) -> Option<&'a EFISdt64>
[src]
Search for the EFI 64-bit SDT tag.
pub fn rsdp_v1_tag<'a>(&self) -> Option<&'a RsdpV1Tag>
[src]
Search for the (ACPI 1.0) RSDP tag.
pub fn rsdp_v2_tag<'a>(&'a self) -> Option<&'a RsdpV2Tag>
[src]
Search for the (ACPI 2.0 or later) RSDP tag.
pub fn efi_memory_map_tag<'a>(&'a self) -> Option<&'a EFIMemoryMapTag>
[src]
Search for the EFI Memory map tag.
pub fn efi_32_ih<'a>(&'a self) -> Option<&'a EFIImageHandle32>
[src]
Search for the EFI 32-bit image handle pointer.
pub fn efi_64_ih<'a>(&'a self) -> Option<&'a EFIImageHandle64>
[src]
Search for the EFI 64-bit image handle pointer.
pub fn load_base_addr<'a>(&'a self) -> Option<&'a ImageLoadPhysAddr>
[src]
Search for the Image Load Base Physical Address.
pub fn vbe_info_tag(&self) -> Option<&'static VBEInfoTag>
[src]
Search for the VBE information tag.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,