Struct gimli::read::RngListIter
source · pub struct RngListIter<R: Reader> {
raw: RawRngListIter<R>,
base_address: u64,
debug_addr: DebugAddr<R>,
debug_addr_base: DebugAddrBase<R::Offset>,
}
Expand description
An iterator over an address range list.
This iterator internally handles processing of base addresses and different entry types. Thus, it only returns range entries that are valid and already adjusted for the base address.
Fields§
§raw: RawRngListIter<R>
§base_address: u64
§debug_addr: DebugAddr<R>
§debug_addr_base: DebugAddrBase<R::Offset>
Implementations§
source§impl<R: Reader> RngListIter<R>
impl<R: Reader> RngListIter<R>
sourcefn new(
raw: RawRngListIter<R>,
base_address: u64,
debug_addr: DebugAddr<R>,
debug_addr_base: DebugAddrBase<R::Offset>,
) -> RngListIter<R>
fn new( raw: RawRngListIter<R>, base_address: u64, debug_addr: DebugAddr<R>, debug_addr_base: DebugAddrBase<R::Offset>, ) -> RngListIter<R>
Construct a RngListIter
.
fn get_address(&self, index: DebugAddrIndex<R::Offset>) -> Result<u64>
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for RngListIter<R>
impl<R> RefUnwindSafe for RngListIter<R>
impl<R> Send for RngListIter<R>
impl<R> Sync for RngListIter<R>
impl<R> Unpin for RngListIter<R>
impl<R> UnwindSafe for RngListIter<R>
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