pub struct MappedMemory {
pub id: MemoryId,
pub page: PageId,
pub stamp: u64,
}Expand description
A memory the map knows about: its id, its page, and the page’s write stamp.
Fields§
§id: MemoryId§page: PageId§stamp: u64Changes whenever the page is written. Equal stamps for the same page mean no write was applied to it in between.
Trait Implementations§
Source§impl Clone for MappedMemory
impl Clone for MappedMemory
impl Copy for MappedMemory
Source§impl Debug for MappedMemory
impl Debug for MappedMemory
impl Eq for MappedMemory
Source§impl PartialEq for MappedMemory
impl PartialEq for MappedMemory
impl StructuralPartialEq for MappedMemory
Auto Trait Implementations§
impl Freeze for MappedMemory
impl RefUnwindSafe for MappedMemory
impl Send for MappedMemory
impl Sync for MappedMemory
impl Unpin for MappedMemory
impl UnsafeUnpin for MappedMemory
impl UnwindSafe for MappedMemory
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