#[repr(transparent)]
pub struct EruptMemoryDevice { /* private fields */ }

Implementations§

Trait Implementations§

Allocates new memory object from device. This function may be expensive and even limit maximum number of memory objects allocated. Which is the reason for sub-allocation this crate provides. Read more
Deallocate memory object. Read more
Map region of device memory to host memory space. Read more
Unmap previously mapped memory region. Read more
Invalidates ranges of memory mapped regions. Read more
Flushes ranges of memory mapped regions. 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 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.