#[repr(C)]pub struct MapConfig<P: PTEGeneric> {
pub vaddr: VirtAddr,
pub paddr: PhysAddr,
pub size: usize,
pub pte: P,
pub allow_huge: bool,
pub flush: bool,
}
Fields§
§vaddr: VirtAddr
§paddr: PhysAddr
§size: usize
§pte: P
§allow_huge: bool
§flush: bool
Implementations§
Trait Implementations§
impl<P: Copy + PTEGeneric> Copy for MapConfig<P>
Auto Trait Implementations§
impl<P> Freeze for MapConfig<P>where
P: Freeze,
impl<P> RefUnwindSafe for MapConfig<P>where
P: RefUnwindSafe,
impl<P> Send for MapConfig<P>
impl<P> Sync for MapConfig<P>
impl<P> Unpin for MapConfig<P>where
P: Unpin,
impl<P> UnwindSafe for MapConfig<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