#[repr(C)]
pub struct MemoryRegions { /* private fields */ }
Expand description

FFI-safe slice of MemoryRegion structs, semantically equivalent to &'static mut [MemoryRegion].

This type implements the Deref and DerefMut traits, so it can be used like a &mut [MemoryRegion] slice. It also implements From and Into for easy conversions from and to &'static mut [MemoryRegion].

Trait Implementations

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Performs the conversion.

Performs the conversion.

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

Performs the conversion.

Performs the conversion.

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.