pub struct DmaBuffer {
addr: u64,
size: usize,
}
Expand description
DmaBuffer represents a DMA buffer lent by a device
Fields§
§addr: u64
Host virtual address of the buffer
size: usize
Size of the buffer
Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for DmaBuffer
impl Send for DmaBuffer
impl Sync for DmaBuffer
impl Unpin for DmaBuffer
impl UnwindSafe for DmaBuffer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more