#[repr(C)]
pub struct InformationRequestHeaderTag<const N: usize> { /* private fields */ }
Expand description

Specifies what specific tag types the bootloader should provide inside the mbi.

Implementations

Creates a new object. The size parameter is the value of the size property. It doesn’t have to match with N necessarily, because during compile time we can’t know the size of the tag in all runtime situations.

Returns the requests as array. Only works if the number of requests is known at compile time. For safety and correctness during runtime, you should use req_iter().

Returns the number of MbiTagType-requests derived from the size-property. This method is useful because this struct uses a const generic, but during runtime we don’t know the value in almost any case.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.