#[repr(C)]pub struct MemoryMapResponse {
pub revision: u64,
pub entry_count: u64,
pub entries: *const *const MemoryMapEntry,
}Expand description
Response to [MemoryMapRequest]
Fields§
§revision: u64The response revision number
entry_count: u64The amount of entries in the memory map
entries: *const *const MemoryMapEntryAn array of MemoryMapEntry pointers
Implementations§
Source§impl MemoryMapResponse
impl MemoryMapResponse
Sourcepub unsafe fn get_memory_map(&self) -> Option<&[&MemoryMapEntry]>
pub unsafe fn get_memory_map(&self) -> Option<&[&MemoryMapEntry]>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MemoryMapResponse
impl RefUnwindSafe for MemoryMapResponse
impl !Send for MemoryMapResponse
impl !Sync for MemoryMapResponse
impl Unpin for MemoryMapResponse
impl UnwindSafe for MemoryMapResponse
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