pub struct MemRegion {
pub paddr: PhysAddr,
pub size: usize,
pub flags: MemRegionFlags,
pub name: &'static str,
}Expand description
A physical memory region.
Fields§
§paddr: PhysAddrThe start physical address of the region.
size: usizeThe size in bytes of the region.
flags: MemRegionFlagsThe region flags, see MemRegionFlags.
name: &'static strThe region name, used for identification.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MemRegion
impl RefUnwindSafe for MemRegion
impl Send for MemRegion
impl Sync for MemRegion
impl Unpin for MemRegion
impl UnwindSafe for MemRegion
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