Struct gimli::Range
[−]
[src]
pub struct Range {
pub begin: u64,
pub end: u64,
}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]
fn is_end(&self) -> bool[src]
Check if this is a range end entry.
This will only occur for raw ranges.
fn is_base_address(&self, address_size: u8) -> bool[src]
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.
fn add_base_address(&mut self, base_address: u64, address_size: u8)[src]
Add a base address to this range.
This should only be called for raw ranges.
Trait Implementations
impl Debug for Range[src]
impl Clone for Range[src]
fn clone(&self) -> Range[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for Range[src]
impl PartialEq for Range[src]
fn eq(&self, __arg_0: &Range) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Range) -> bool[src]
This method tests for !=.