logo
pub struct MemoryMapping<'a> { /* private fields */ }
Expand description

Indirection to use instead of a slice to make handling easier

Implementations

Creates a new MemoryMapping structure from the given regions

Given a list of regions translate from virtual machine to host address

Helper for map to generate errors

Resize the memory_region at the given index

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 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.