Struct proc_maps::linux_maps::MapRange [−][src]
pub struct MapRange { /* fields omitted */ }
A struct representing a single virtual memory region While this structure only is for Linux, the OSX and Windows variants have identical exposed methods
Methods
impl MapRange
[src]
impl MapRange
pub fn size(&self) -> usize
[src]
pub fn size(&self) -> usize
Returns the size of this MapRange in bytes
pub fn start(&self) -> usize
[src]
pub fn start(&self) -> usize
Returns the address this MapRange starts at
pub fn filename(&self) -> &Option<String>
[src]
pub fn filename(&self) -> &Option<String>
Returns the filename of the loaded module
pub fn is_exec(&self) -> bool
[src]
pub fn is_exec(&self) -> bool
Returns whether this range contains executable code
pub fn is_write(&self) -> bool
[src]
pub fn is_write(&self) -> bool
Returns whether this range contains writeable memory
pub fn is_read(&self) -> bool
[src]
pub fn is_read(&self) -> bool
Returns whether this range contains readable memory
Trait Implementations
impl Debug for MapRange
[src]
impl Debug for MapRange
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for MapRange
[src]
impl Clone for MapRange
fn clone(&self) -> MapRange
[src]
fn clone(&self) -> MapRange
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for MapRange
[src]
impl PartialEq for MapRange