pub enum MemoryMapKind {
MapFile(*const u8),
MapVirtual,
}
Expand description
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§
Source§impl Clone for MemoryMapKind
impl Clone for MemoryMapKind
Source§fn clone(&self) -> MemoryMapKind
fn clone(&self) -> MemoryMapKind
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for MemoryMapKind
Auto Trait Implementations§
impl Freeze for MemoryMapKind
impl RefUnwindSafe for MemoryMapKind
impl !Send for MemoryMapKind
impl !Sync for MemoryMapKind
impl Unpin for MemoryMapKind
impl UnwindSafe for MemoryMapKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)