[][src]Enum multiboot2_host::header::Tag

pub enum Tag {
    End,
    InfoRequest {
        mbi_tag_types: Vec<u32>,
    },
    LoadAddr {
        header_addr: u32,
        load_addr: u32,
        load_end_addr: u32,
        bss_end_addr: u32,
    },
    EntryAddr(u32),
    EntryAddrEfi32(u32),
    EntryAddrEfi64(u32),
    ConsoleFlags(u32),
    Framebuffer {
        width: u32,
        height: u32,
        depth: u32,
    },
    ModuleAlign,
    EfiBootServices,
    Relocatable {
        min_addr: u32,
        max_addr: u32,
        align: u32,
        preference: u32,
    },
}

Variants

End
InfoRequest

Fields of InfoRequest

mbi_tag_types: Vec<u32>
LoadAddr

Fields of LoadAddr

header_addr: u32load_addr: u32load_end_addr: u32bss_end_addr: u32
EntryAddr(u32)
EntryAddrEfi32(u32)
EntryAddrEfi64(u32)
ConsoleFlags(u32)
Framebuffer

Fields of Framebuffer

width: u32height: u32depth: u32
ModuleAlign
EfiBootServices
Relocatable

Fields of Relocatable

min_addr: u32max_addr: u32align: u32preference: u32

Implementations

impl Tag[src]

pub fn tag_type(&self) -> TagType[src]

pub fn size(&self) -> u32[src]

pub fn from_reader<R: Read>(r: R) -> Result<Self>[src]

Trait Implementations

impl Clone for Tag[src]

impl Debug for Tag[src]

impl Eq for Tag[src]

impl PartialEq<Tag> for Tag[src]

impl StructuralEq for Tag[src]

impl StructuralPartialEq for Tag[src]

Auto Trait Implementations

impl RefUnwindSafe for Tag

impl Send for Tag

impl Sync for Tag

impl Unpin for Tag

impl UnwindSafe for Tag

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.