Struct xilinx_dma::DmaBuffer
source · pub struct DmaBuffer { /* private fields */ }
Implementations§
source§impl DmaBuffer
impl DmaBuffer
pub fn new(name: &str) -> Result<DmaBuffer>
pub fn slice<T>(&self) -> &mut [T]
pub fn name(&self) -> &str
pub fn size(&self) -> usize
pub fn phys_addr(&self) -> usize
pub fn buffer(&self) -> *mut c_void
pub fn sync_mode(&self) -> bool
pub fn debug_vma(&self) -> bool
Trait Implementations§
impl Send for DmaBuffer
impl Sync for DmaBuffer
Auto Trait Implementations§
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