#[repr(C)]pub struct Mapping {
pub id: u64,
pub offset: u64,
}
Expand description
Represents a memory mapping ID and offset.
This struct is used to uniquely identify a mapped memory region.
Fields§
§id: u64
The unique ID of the memory-mapped file.
offset: u64
The memory address offset within the mapped region.
Trait Implementations§
Source§impl Ord for Mapping
impl Ord for Mapping
Source§impl PartialOrd for Mapping
impl PartialOrd for Mapping
impl Eq for Mapping
impl StructuralPartialEq for Mapping
Auto Trait Implementations§
impl Freeze for Mapping
impl RefUnwindSafe for Mapping
impl Send for Mapping
impl Sync for Mapping
impl Unpin for Mapping
impl UnwindSafe for Mapping
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