pub struct MemoryArea { /* private fields */ }
Expand description
Describes a memory area of a process.
Implementations§
Source§impl MemoryArea
impl MemoryArea
Sourcepub fn allocation_base(&self) -> usize
pub fn allocation_base(&self) -> usize
The allocation base of the memory area.
Sourcepub fn protection(&self) -> Protection
pub fn protection(&self) -> Protection
The protection with which the memory area has been mapped.
The share mode of the memory area.
Sourcepub fn path(&self) -> Option<&PathBuf>
pub fn path(&self) -> Option<&PathBuf>
The path to the file that backs this memory area, if backed by a file.
Sourcepub fn file_offset(&self) -> Option<u64>
pub fn file_offset(&self) -> Option<u64>
The file offset, if backed by a file.
Trait Implementations§
Source§impl Clone for MemoryArea
impl Clone for MemoryArea
Source§fn clone(&self) -> MemoryArea
fn clone(&self) -> MemoryArea
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 moreAuto Trait Implementations§
impl Freeze for MemoryArea
impl RefUnwindSafe for MemoryArea
impl Send for MemoryArea
impl Sync for MemoryArea
impl Unpin for MemoryArea
impl UnwindSafe for MemoryArea
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