#[repr(C)]
#[repr(align(64))]
pub struct Regions { pub region0: MainRegionDesc<Region0>, pub region1: MainRegionDesc<Region1>, pub region2: MainRegionDesc<Region2>, pub region3: MainRegionDesc<Region3>, }
Expand description

Helper for creating the Region Descriptor structure

It is also possible to construct the Region manually, but then care has to be taken to point rnext to the appropriate place in memory, here the hardware assumption of 0x10 offset to the next descriptor is ensured.

Follows C-structure conventions and is 64-byte aligned

Important

ICM engine will read wherever this is instantiated in memory, based on the Icm::set_dscr_addr() so the user must ensure that this variable lives long enough or is static

Fields

region0: MainRegionDesc<Region0>

MainRegionDesc0

region1: MainRegionDesc<Region1>

MainRegionDesc1

region2: MainRegionDesc<Region2>

MainRegionDesc2

region3: MainRegionDesc<Region3>

MainRegionDesc3

Implementations

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.

Should always be Self
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.