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 Range
pub fn is_end(&self) -> bool
[src]
pub fn is_end(&self) -> bool
Check 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) -> bool
Check 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 Range
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 Range
[src]
impl Clone for Range
fn clone(&self) -> Range
[src]
fn clone(&self) -> Range
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 Copy for Range
[src]
impl Copy for Range
impl PartialEq for Range
[src]
impl PartialEq for Range
fn eq(&self, other: &Range) -> bool
[src]
fn eq(&self, other: &Range) -> bool
This 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) -> bool
This method tests for !=
.
impl Eq for Range
[src]
impl Eq for Range
impl Hash for Range
[src]
impl Hash for Range