Enum mmap::MemoryMapKind
[−]
[src]
pub enum MemoryMapKind { MapFile(*const u8), MapVirtual, }
Type of memory map
Variants
MapFile(*const u8)
Virtual memory map. Usually used to change the permissions of a given
chunk of memory. Corresponds to VirtualAlloc
on Windows.
MapVirtual
Virtual memory map. Usually used to change the permissions of a given
chunk of memory, or for allocation. Corresponds to VirtualAlloc
on
Windows.
Trait Implementations
impl Clone for MemoryMapKind
[src]
fn clone(&self) -> MemoryMapKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more