pub struct VirtualRegion<P: PhysicalPageCollection> { /* private fields */ }
Implementations§
source§impl<P: PhysicalPageCollection> VirtualRegion<P>
impl<P: PhysicalPageCollection> VirtualRegion<P>
pub fn len(&self) -> usize
pub unsafe fn new( virt: *mut u8, len: usize, _cache_type: CacheType, phys_page_list: P, ) -> Self
pub fn base<T>(&self) -> *const T
pub fn base_mut<T>(&mut self) -> *mut T
pub fn get_prp_list_or_buffer<D>( &mut self, mode: PrpMode, dma: P::DmaType, ) -> Option<PrpListOrBuffer>
pub fn get_dptr(&mut self, mode: DptrMode, dma: P::DmaType) -> Option<Dptr>
Auto Trait Implementations§
impl<P> Freeze for VirtualRegion<P>where
P: Freeze,
impl<P> RefUnwindSafe for VirtualRegion<P>where
P: RefUnwindSafe,
impl<P> !Send for VirtualRegion<P>
impl<P> !Sync for VirtualRegion<P>
impl<P> Unpin for VirtualRegion<P>where
P: Unpin,
impl<P> UnwindSafe for VirtualRegion<P>where
P: UnwindSafe,
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