pub struct DmaBuf(/* private fields */);
Expand description
A DMA-Buf buffer
Implementations§
source§impl DmaBuf
impl DmaBuf
sourcepub fn memory_map(self) -> Result<MappedDmaBuf, MapError>
pub fn memory_map(self) -> Result<MappedDmaBuf, MapError>
Trait Implementations§
source§impl AsFd for DmaBuf
impl AsFd for DmaBuf
source§fn as_fd(&self) -> BorrowedFd<'_>
fn as_fd(&self) -> BorrowedFd<'_>
Borrows the file descriptor. Read more
Auto Trait Implementations§
impl Freeze for DmaBuf
impl RefUnwindSafe for DmaBuf
impl Send for DmaBuf
impl Sync for DmaBuf
impl Unpin for DmaBuf
impl UnwindSafe for DmaBuf
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