#[repr(C)]pub struct MemRegion {
pub begin: u64,
pub end: u64,
pub perms: Protection,
}Fields§
§begin: u64The start address of the region (inclusive).
end: u64The end address of the region (inclusive).
perms: ProtectionThe memory permissions of the region.
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