Struct gimli::Range [−][src]
An address range from the .debug_ranges section.
Fields
begin: u64
The beginning address of the range.
end: u64
The first address past the end of the range.
Methods
impl Range[src]
impl Rangepub fn is_end(&self) -> bool[src]
pub fn is_end(&self) -> boolCheck if this is a range end entry.
This will only occur for raw ranges.
pub fn is_base_address(&self, address_size: u8) -> bool[src]
pub fn is_base_address(&self, address_size: u8) -> boolCheck if this is a base address selection entry.
A base address selection entry changes the base address that subsequent range entries are relative to. This will only occur for raw ranges.
pub fn add_base_address(&mut self, base_address: u64, address_size: u8)[src]
pub fn add_base_address(&mut self, base_address: u64, address_size: u8)Add a base address to this range.
This should only be called for raw ranges.
Trait Implementations
impl Debug for Range[src]
impl Debug for Rangefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for Range[src]
impl Clone for Rangefn clone(&self) -> Range[src]
fn clone(&self) -> RangeReturns 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 Copy for Range[src]
impl Copy for Rangeimpl PartialEq for Range[src]
impl PartialEq for Rangefn eq(&self, other: &Range) -> bool[src]
fn eq(&self, other: &Range) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Range) -> bool[src]
fn ne(&self, other: &Range) -> boolThis method tests for !=.
impl Eq for Range[src]
impl Eq for Rangeimpl Hash for Range[src]
impl Hash for Range