Struct gimli::read::LocListIter
source · pub struct LocListIter<R: Reader> { /* private fields */ }
Expand description
An iterator over a location list.
This iterator internally handles processing of base address selection entries and list end entries. Thus, it only returns location entries that are valid and already adjusted for the base address.
Implementations§
source§impl<R: Reader> LocListIter<R>
impl<R: Reader> LocListIter<R>
sourcepub fn next(&mut self) -> Result<Option<LocationListEntry<R>>>
pub fn next(&mut self) -> Result<Option<LocationListEntry<R>>>
Advance the iterator to the next location.
Trait Implementations§
Auto Trait Implementations§
impl<R> RefUnwindSafe for LocListIter<R>where R: RefUnwindSafe, <R as Reader>::Offset: RefUnwindSafe,
impl<R> Send for LocListIter<R>where R: Send, <R as Reader>::Offset: Send,
impl<R> Sync for LocListIter<R>where R: Sync, <R as Reader>::Offset: Sync,
impl<R> Unpin for LocListIter<R>where R: Unpin, <R as Reader>::Offset: Unpin,
impl<R> UnwindSafe for LocListIter<R>where R: UnwindSafe, <R as Reader>::Offset: UnwindSafe,
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