Struct driverkit::iomem::DmaAllocator [−][src]
pub struct DmaAllocator;
Expand description
An allocator that (supposedly) backs memory accessible by devices.
Trait Implementations
🔬 This is a nightly-only experimental API. (allocator_api
)
🔬 This is a nightly-only experimental API. (
allocator_api
)Allocates IO memory.
🔬 This is a nightly-only experimental API. (allocator_api
)
🔬 This is a nightly-only experimental API. (
allocator_api
)Deallocates the previously allocated IO memory.
🔬 This is a nightly-only experimental API. (
allocator_api
)Behaves like allocate
, but also ensures that the returned memory is zero-initialized. Read more
🔬 This is a nightly-only experimental API. (
allocator_api
)Attempts to extend the memory block. Read more
🔬 This is a nightly-only experimental API. (
allocator_api
)Behaves like grow
, but also ensures that the new contents are set to zero before being
returned. Read more
🔬 This is a nightly-only experimental API. (
allocator_api
)Attempts to shrink the memory block. Read more
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for DmaAllocator
impl Send for DmaAllocator
impl Sync for DmaAllocator
impl Unpin for DmaAllocator
impl UnwindSafe for DmaAllocator
Blanket Implementations
Mutably borrows from an owned value. Read more