#[repr(C)]pub struct Map {
pub offset: usize,
pub size: usize,
pub flags: MapFlags,
pub address: usize,
}
Fields
offset: usize
The offset inside the file that is being mapped.
size: usize
The size of the memory map.
flags: MapFlags
Contains both prot and map flags.
address: usize
Functions as a hint to where in the virtual address space of the running process, to place
the memory map. If MapFlags::MAP_FIXED
is set, then this address must be the address to
map to.
Trait Implementations
impl Copy for Map
Auto Trait Implementations
impl RefUnwindSafe for Map
impl Send for Map
impl Sync for Map
impl Unpin for Map
impl UnwindSafe for Map
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more